summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ecoinfr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ecoinfr.cpp')
-rw-r--r--src/mame/drivers/ecoinfr.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/ecoinfr.cpp b/src/mame/drivers/ecoinfr.cpp
index 1b0ac2815a8..1961b734230 100644
--- a/src/mame/drivers/ecoinfr.cpp
+++ b/src/mame/drivers/ecoinfr.cpp
@@ -780,9 +780,9 @@ void ecoinfr_state::machine_reset()
MACHINE_CONFIG_START(ecoinfr_state::ecoinfr)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80,4000000)
- MCFG_CPU_PROGRAM_MAP(memmap)
- MCFG_CPU_IO_MAP(portmap)
+ MCFG_DEVICE_ADD("maincpu", Z80,4000000)
+ MCFG_DEVICE_PROGRAM_MAP(memmap)
+ MCFG_DEVICE_IO_MAP(portmap)
MCFG_TIMER_DRIVER_ADD_PERIODIC("ectimer", ecoinfr_state, ecoinfr_irq_timer, attotime::from_hz(250))
MCFG_DEFAULT_LAYOUT(layout_ecoinfr)
@@ -791,13 +791,13 @@ MACHINE_CONFIG_START(ecoinfr_state::ecoinfr)
MCFG_DEVICE_ADD(UPD8251_TAG, I8251, 0)
MCFG_ECOIN_200STEP_ADD("reel0")
- MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(ecoinfr_state, reel0_optic_cb))
+ MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(*this, ecoinfr_state, reel0_optic_cb))
MCFG_ECOIN_200STEP_ADD("reel1")
- MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(ecoinfr_state, reel1_optic_cb))
+ MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(*this, ecoinfr_state, reel1_optic_cb))
MCFG_ECOIN_200STEP_ADD("reel2")
- MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(ecoinfr_state, reel2_optic_cb))
+ MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(*this, ecoinfr_state, reel2_optic_cb))
MCFG_ECOIN_200STEP_ADD("reel3")
- MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(ecoinfr_state, reel3_optic_cb))
+ MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(*this, ecoinfr_state, reel3_optic_cb))
MACHINE_CONFIG_END