diff options
Diffstat (limited to 'src/mame/drivers/psychic5.cpp')
-rw-r--r-- | src/mame/drivers/psychic5.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/psychic5.cpp b/src/mame/drivers/psychic5.cpp index e80b5b709dd..1576aeae0c9 100644 --- a/src/mame/drivers/psychic5.cpp +++ b/src/mame/drivers/psychic5.cpp @@ -339,14 +339,14 @@ Notes (23-Jan-2016 AS): #include "speaker.h" -MACHINE_START_MEMBER(psychic5_state, psychic5) +void psychic5_state::machine_start_psychic5() { membank("mainbank")->configure_entries(0, 4, memregion("maincpu")->base() + 0x10000, 0x4000); save_item(NAME(m_bank_latch)); } -MACHINE_START_MEMBER(psychic5_state, bombsa) +void psychic5_state::machine_start_bombsa() { membank("mainbank")->configure_entries(0, 8, memregion("maincpu")->base() + 0x10000, 0x4000); @@ -740,7 +740,7 @@ MACHINE_CONFIG_START(psychic5_state::psychic5) MCFG_QUANTUM_TIME(attotime::from_hz(600)) /* Allow time for 2nd cpu to interleave */ - MCFG_MACHINE_START_OVERRIDE(psychic5_state,psychic5) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_psychic5, this)); /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -752,8 +752,8 @@ MACHINE_CONFIG_START(psychic5_state::psychic5) MCFG_DEVICE_ADD("blend", JALECO_BLEND, 0) - MCFG_VIDEO_START_OVERRIDE(psychic5_state,psychic5) - MCFG_VIDEO_RESET_OVERRIDE(psychic5_state,psychic5) + set_video_start_cb(config, driver_callback_delegate(&video_start_psychic5, this)); + set_video_reset_cb(config, driver_callback_delegate(&video_reset_psychic5, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -794,7 +794,7 @@ MACHINE_CONFIG_START(psychic5_state::bombsa) MCFG_QUANTUM_TIME(attotime::from_hz(600)) - MCFG_MACHINE_START_OVERRIDE(psychic5_state,bombsa) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_bombsa, this)); /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -804,8 +804,8 @@ MACHINE_CONFIG_START(psychic5_state::bombsa) MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_bombsa) MCFG_PALETTE_ADD("palette", 768) - MCFG_VIDEO_START_OVERRIDE(psychic5_state,bombsa) - MCFG_VIDEO_RESET_OVERRIDE(psychic5_state,psychic5) + set_video_start_cb(config, driver_callback_delegate(&video_start_bombsa, this)); + set_video_reset_cb(config, driver_callback_delegate(&video_reset_psychic5, this)); /* sound hardware */ SPEAKER(config, "mono").front_center(); |