diff options
Diffstat (limited to 'src/mame/drivers/midyunit.cpp')
-rw-r--r-- | src/mame/drivers/midyunit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/midyunit.cpp b/src/mame/drivers/midyunit.cpp index 9eb0f56f5d0..c1283327bf5 100644 --- a/src/mame/drivers/midyunit.cpp +++ b/src/mame/drivers/midyunit.cpp @@ -1111,7 +1111,7 @@ MACHINE_CONFIG_START(midyunit_state::zunit) MCFG_TMS340X0_TO_SHIFTREG_CB(midyunit_state, to_shiftreg) /* write to shiftreg function */ MCFG_TMS340X0_FROM_SHIFTREG_CB(midyunit_state, from_shiftreg) /* read from shiftreg function */ - MCFG_MACHINE_RESET_OVERRIDE(midyunit_state,midyunit) + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_midyunit, this)); MCFG_NVRAM_ADD_0FILL("nvram") /* video hardware */ @@ -1124,7 +1124,7 @@ MACHINE_CONFIG_START(midyunit_state::zunit) MCFG_SCREEN_UPDATE_DEVICE("maincpu", tms34010_device, tms340x0_ind16) MCFG_SCREEN_PALETTE("palette") - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midzunit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midzunit, this)); /* sound hardware */ SPEAKER(config, "lspeaker").front_left(); @@ -1154,7 +1154,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_core) MCFG_TMS340X0_TO_SHIFTREG_CB(midyunit_state, to_shiftreg) /* write to shiftreg function */ MCFG_TMS340X0_FROM_SHIFTREG_CB(midyunit_state, from_shiftreg) /* read from shiftreg function */ - MCFG_MACHINE_RESET_OVERRIDE(midyunit_state,midyunit) + set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_midyunit, this)); MCFG_NVRAM_ADD_0FILL("nvram") /* video hardware */ @@ -1183,7 +1183,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_cvsd_4bit_slow) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(256) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midyunit_4bit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midyunit_4bit, this)); MACHINE_CONFIG_END @@ -1200,7 +1200,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_cvsd_4bit_fast) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(256) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midyunit_4bit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midyunit_4bit, this)); MACHINE_CONFIG_END @@ -1214,7 +1214,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_cvsd_6bit_slow) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(4096) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midyunit_6bit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midyunit_6bit, this)); MACHINE_CONFIG_END @@ -1231,7 +1231,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_adpcm_6bit_fast) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(4096) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midyunit_6bit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midyunit_6bit, this)); MACHINE_CONFIG_END @@ -1248,7 +1248,7 @@ MACHINE_CONFIG_START(midyunit_state::yunit_adpcm_6bit_faster) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(4096) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,midyunit_6bit) + set_video_start_cb(config, driver_callback_delegate(&video_start_midyunit_6bit, this)); MACHINE_CONFIG_END @@ -1273,7 +1273,7 @@ MACHINE_CONFIG_START(midyunit_state::mkyawdim) /* video hardware */ MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(4096) - MCFG_VIDEO_START_OVERRIDE(midyunit_state,mkyawdim) + set_video_start_cb(config, driver_callback_delegate(&video_start_mkyawdim, this)); /* sound hardware */ |