summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/opwolf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/opwolf.cpp')
-rw-r--r--src/mame/drivers/opwolf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/opwolf.cpp b/src/mame/drivers/opwolf.cpp
index 3f33b5b2e58..7c4122f9529 100644
--- a/src/mame/drivers/opwolf.cpp
+++ b/src/mame/drivers/opwolf.cpp
@@ -457,7 +457,7 @@ void opwolf_state::machine_start()
save_item(NAME(m_adpcm_end));
}
-void opwolf_state::machine_reset_opwolf()
+MACHINE_RESET_MEMBER(opwolf_state,opwolf)
{
m_adpcm_b[0] = m_adpcm_b[1] = 0;
m_adpcm_c[0] = m_adpcm_c[1] = 0;
@@ -796,7 +796,7 @@ MACHINE_CONFIG_START(opwolf_state::opwolf)
MCFG_QUANTUM_TIME(attotime::from_hz(600)) /* 10 CPU slices per frame - enough for the sound CPU to read all commands */
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_opwolf, this));
+ MCFG_MACHINE_RESET_OVERRIDE(opwolf_state,opwolf)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)