trunk/src/mame/drivers/coolridr.c
| r31183 | r31184 | |
| 311 | 311 | m_sound_dma(*this, "sound_dma"), |
| 312 | 312 | m_soundram(*this, "soundram"), |
| 313 | 313 | m_soundram2(*this, "soundram2"), |
| 314 | m_rom(*this, "share1"), |
| 314 | 315 | m_io_an0(*this, "AN0"), |
| 315 | 316 | m_io_an1(*this, "AN1"), |
| 316 | 317 | m_io_an2(*this, "AN2"), |
| r31183 | r31184 | |
| 356 | 357 | required_shared_ptr<UINT32> m_sound_dma; |
| 357 | 358 | required_shared_ptr<UINT16> m_soundram; |
| 358 | 359 | required_shared_ptr<UINT16> m_soundram2; |
| 360 | required_shared_ptr<UINT32> m_rom; |
| 359 | 361 | required_ioport m_io_an0; |
| 360 | 362 | required_ioport m_io_an1; |
| 361 | 363 | required_ioport m_io_an2; |
| r31183 | r31184 | |
| 3706 | 3708 | |
| 3707 | 3709 | m_maincpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS); |
| 3708 | 3710 | 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]); |
| 3709 | 3717 | } |
| 3710 | 3718 | |
| 3711 | 3719 | GAME( 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) |