summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dambustr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dambustr.cpp')
-rw-r--r--src/mame/drivers/dambustr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/dambustr.cpp b/src/mame/drivers/dambustr.cpp
index 5500409bc75..d780f21717d 100644
--- a/src/mame/drivers/dambustr.cpp
+++ b/src/mame/drivers/dambustr.cpp
@@ -256,16 +256,16 @@ DRIVER_INIT_MEMBER(dambustr_state,dambustr)
MACHINE_CONFIG_START(dambustr_state::dambustr)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80, 18432000/6) /* 3.072 MHz */
- MCFG_CPU_PROGRAM_MAP(dambustr_map)
+ MCFG_DEVICE_ADD("maincpu", Z80, 18432000/6) /* 3.072 MHz */
+ MCFG_DEVICE_PROGRAM_MAP(dambustr_map)
MCFG_MACHINE_RESET_OVERRIDE(dambustr_state,galaxold)
MCFG_DEVICE_ADD("7474_9m_1", TTL7474, 0)
- MCFG_7474_OUTPUT_CB(WRITELINE(dambustr_state,galaxold_7474_9m_1_callback))
+ MCFG_7474_OUTPUT_CB(WRITELINE(*this, dambustr_state,galaxold_7474_9m_1_callback))
MCFG_DEVICE_ADD("7474_9m_2", TTL7474, 0)
- MCFG_7474_COMP_OUTPUT_CB(WRITELINE(dambustr_state,galaxold_7474_9m_2_q_callback))
+ MCFG_7474_COMP_OUTPUT_CB(WRITELINE(*this, dambustr_state,galaxold_7474_9m_2_q_callback))
MCFG_TIMER_DRIVER_ADD("int_timer", dambustr_state, galaxold_interrupt_timer)