summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/shangkid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/shangkid.cpp')
-rw-r--r--src/mame/drivers/shangkid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/shangkid.cpp b/src/mame/drivers/shangkid.cpp
index de83c1c82f1..8c6ce3e9452 100644
--- a/src/mame/drivers/shangkid.cpp
+++ b/src/mame/drivers/shangkid.cpp
@@ -191,7 +191,7 @@ void shangkid_state::init_shangkid()
/***************************************************************************************/
-MACHINE_RESET_MEMBER(shangkid_state,shangkid)
+void shangkid_state::machine_reset_shangkid()
{
membank("bank2")->set_entry(0);
}
@@ -415,7 +415,7 @@ MACHINE_CONFIG_START(shangkid_state::chinhero)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_chinhero)
MCFG_PALETTE_ADD_RRRRGGGGBBBB_PROMS("palette", "proms", 256)
- MCFG_VIDEO_START_OVERRIDE(shangkid_state,shangkid)
+ set_video_start_cb(config, driver_callback_delegate(&video_start_shangkid, this));
/* sound hardware */
SPEAKER(config, "speaker").front_center();
@@ -450,7 +450,7 @@ MACHINE_CONFIG_START(shangkid_state::shangkid)
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(INPUTLINE("audiocpu", INPUT_LINE_RESET)) MCFG_DEVCB_INVERT
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(MEMBANK("bank1"))
- MCFG_MACHINE_RESET_OVERRIDE(shangkid_state,shangkid)
+ set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_shangkid, this));
/* video hardware */
MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_shangkid)