Previous 199869 Revisions Next

r31184 Friday 4th July, 2014 at 04:23:31 UTC by R. Belmont
and this one (nw)
[src/mame/drivers]coolridr.c

trunk/src/mame/drivers/coolridr.c
r31183r31184
311311      m_sound_dma(*this, "sound_dma"),
312312      m_soundram(*this, "soundram"),
313313      m_soundram2(*this, "soundram2"),
314      m_rom(*this, "share1"),
314315      m_io_an0(*this, "AN0"),
315316      m_io_an1(*this, "AN1"),
316317      m_io_an2(*this, "AN2"),
r31183r31184
356357   required_shared_ptr<UINT32> m_sound_dma;
357358   required_shared_ptr<UINT16> m_soundram;
358359   required_shared_ptr<UINT16> m_soundram2;
360   required_shared_ptr<UINT32> m_rom;
359361   required_ioport m_io_an0;
360362   required_ioport m_io_an1;
361363   required_ioport m_io_an2;
r31183r31184
37063708
37073709   m_maincpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS);
37083710   m_subcpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS);
3711
3712   // work around the hack when mapping the workram directly
3713   m_maincpu->sh2drc_add_fastram(0x06000000, 0x060d7fff, 0, &m_sysh1_workram_h[0]);
3714   m_maincpu->sh2drc_add_fastram(0x060d9000, 0x060fffff, 0, &m_sysh1_workram_h[0xd9000/4]);
3715   m_maincpu->sh2drc_add_fastram(0x00000000, 0x001fffff, 1, &m_rom[0]);
3716   m_maincpu->sh2drc_add_fastram(0x20000000, 0x201fffff, 1, &m_rom[0]);
37093717}
37103718
37113719GAME( 1995, coolridr,    0, coolridr,    coolridr, coolridr_state,    coolridr, ROT0,  "Sega", "Cool Riders",GAME_IMPERFECT_SOUND) // region is set in test mode, this set is for Japan, USA and Export (all regions)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team