SMS, thats it for now..
This commit is contained in:
parent
eb1d8b0bbd
commit
18ac3a9cfa
|
@ -167,7 +167,7 @@ typedef struct {
|
||||||
char *name;
|
char *name;
|
||||||
} rominfo_t;
|
} rominfo_t;
|
||||||
|
|
||||||
rominfo_t game_list[] = {
|
static rominfo_t game_list[] = {
|
||||||
{0x29822980, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Cosmic Spacehead"},
|
{0x29822980, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Cosmic Spacehead"},
|
||||||
{0xB9664AE1, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Fantastic Dizzy"},
|
{0xB9664AE1, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Fantastic Dizzy"},
|
||||||
{0xA577CE46, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Micro Machines"},
|
{0xA577CE46, MAPPER_CODIES, DISPLAY_PAL, TERRITORY_EXPORT, "Micro Machines"},
|
||||||
|
@ -284,14 +284,10 @@ INT32 SMSInit()
|
||||||
snd.sample_rate = 44100;
|
snd.sample_rate = 44100;
|
||||||
snd.mixer_callback = NULL;
|
snd.mixer_callback = NULL;
|
||||||
|
|
||||||
sms.territory = 0;
|
|
||||||
sms.use_fm = 0;
|
sms.use_fm = 0;
|
||||||
|
|
||||||
system_init();
|
system_init();
|
||||||
|
|
||||||
sms.territory = 0;
|
|
||||||
sms.use_fm = 0;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,5 @@ void fmunit_write(int offset, int data);
|
||||||
int sound_init(void);
|
int sound_init(void);
|
||||||
void sound_shutdown(void);
|
void sound_shutdown(void);
|
||||||
void sound_reset(void);
|
void sound_reset(void);
|
||||||
//void sound_update(int line);
|
|
||||||
//void sound_mixer_callback(int16 **stream, int16 **output, int length);
|
|
||||||
|
|
||||||
#endif /* _SOUND_H_ */
|
#endif /* _SOUND_H_ */
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
bitmap_t bitmap;
|
bitmap_t bitmap;
|
||||||
cart_t cart;
|
cart_t cart;
|
||||||
input_t input;
|
input_t input;
|
||||||
|
|
||||||
/* Run the virtual console emulation for one frame */
|
/* Run the virtual console emulation for one frame */
|
||||||
|
@ -41,8 +41,6 @@ void system_frame(int skip_render)
|
||||||
{
|
{
|
||||||
sms.paused = 1;
|
sms.paused = 1;
|
||||||
|
|
||||||
//z80_set_irq_line(IRQ_LINE_NMI, ASSERT_LINE);
|
|
||||||
//z80_set_irq_line(IRQ_LINE_NMI, CLEAR_LINE);
|
|
||||||
ZetNmi();
|
ZetNmi();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,7 +100,6 @@ void system_frame(int skip_render)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// sound_update(vdp.line);
|
|
||||||
// Render Sound Segment
|
// Render Sound Segment
|
||||||
if (pBurnSoundOut) {
|
if (pBurnSoundOut) {
|
||||||
INT32 nSegmentLength = nBurnSoundLen / lpf;
|
INT32 nSegmentLength = nBurnSoundLen / lpf;
|
||||||
|
|
Loading…
Reference in New Issue