Previous 15994 Revisions Next

r3489 Friday 24th October, 2008 at 14:11:27 UTC by Wilbert Pol
[NES] Pass the correct memory region to the sound chip. Should fix bug #1672.
[src/mess/drivers]nes.c

src/mess/drivers/nes.c
r3488r3489
160160};
161161#endif
162162
163static const nes_interface nesntsc_interface =
163static const nes_interface nes_apu_interface =
164164{
165   0
165   "main"
166166};
167167
168static const nes_interface nespal_interface =
169{
170   0
171};
172168
173169ROM_START( nes )
174170    ROM_REGION( 0x10000, "main",0 )  /* Main RAM + program banks */
r3488r3489
245241    /* sound hardware */
246242   MDRV_SPEAKER_STANDARD_MONO("mono")
247243   MDRV_SOUND_ADD("nessound", NES, NTSC_CLOCK)
248   MDRV_SOUND_CONFIG(nesntsc_interface)
244   MDRV_SOUND_CONFIG(nes_apu_interface)
249245   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
250246MACHINE_DRIVER_END
251247
r3488r3489
263259
264260    /* sound hardware */
265261   MDRV_SOUND_REPLACE("nessound", NES, PAL_CLOCK)
266   MDRV_SOUND_CONFIG(nespal_interface)
262   MDRV_SOUND_CONFIG(nes_apu_interface)
267263   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
268264MACHINE_DRIVER_END
269265

Previous 15994 Revisions Next


© 1998-2018 The MESS Team