trunk/src/mame/drivers/deco_mlc.c
| r29579 | r29580 | |
| 835 | 835 | DRIVER_INIT_MEMBER(deco_mlc_state,avengrgs) |
| 836 | 836 | { |
| 837 | 837 | // init options |
| 838 | | m_maincpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS); |
| 838 | dynamic_cast<sh2_device *>(m_maincpu.target())->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS); |
| 839 | 839 | |
| 840 | 840 | // set up speed cheat |
| 841 | | m_maincpu->sh2drc_add_pcflush(0x3234); |
| 842 | | m_maincpu->sh2drc_add_pcflush(0x32dc); |
| 841 | dynamic_cast<sh2_device *>(m_maincpu.target())->sh2drc_add_pcflush(0x3234); |
| 842 | dynamic_cast<sh2_device *>(m_maincpu.target())->sh2drc_add_pcflush(0x32dc); |
| 843 | 843 | |
| 844 | 844 | m_mainCpuIsArm = 0; |
| 845 | 845 | m_maincpu->space(AS_PROGRAM).install_read_handler(0x01089a0, 0x01089a3, read32_delegate(FUNC(deco_mlc_state::avengrgs_speedup_r),this)); |
trunk/src/mame/includes/deco_mlc.h
| r29579 | r29580 | |
| 1 | 1 | #include "machine/eepromser.h" |
| 2 | 2 | #include "machine/deco146.h" |
| 3 | 3 | #include "sound/ymz280b.h" |
| 4 | | #include "cpu/sh2/sh2.h" |
| 5 | 4 | |
| 6 | 5 | |
| 7 | 6 | class deco_mlc_state : public driver_device |
| r29579 | r29580 | |
| 69 | 68 | void blitRaster(bitmap_rgb32 &bitmap, int rasterMode); |
| 70 | 69 | void draw_sprites( const rectangle &cliprect, int scanline, UINT32* dest); |
| 71 | 70 | void descramble_sound( ); |
| 72 | | required_device<sh2_device> m_maincpu; |
| 71 | required_device<cpu_device> m_maincpu; |
| 73 | 72 | required_device<eeprom_serial_93cxx_device> m_eeprom; |
| 74 | 73 | required_device<ymz280b_device> m_ymz; |
| 75 | 74 | required_device<gfxdecode_device> m_gfxdecode; |