summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/s4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/s4.cpp')
-rw-r--r--src/mame/drivers/s4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/s4.cpp b/src/mame/drivers/s4.cpp
index d20a91c419c..ba1f296c4c9 100644
--- a/src/mame/drivers/s4.cpp
+++ b/src/mame/drivers/s4.cpp
@@ -434,7 +434,7 @@ MACHINE_CONFIG_START(s4_state::s4)
/* basic machine hardware */
MCFG_DEVICE_ADD("maincpu", M6800, 3580000)
MCFG_DEVICE_PROGRAM_MAP(s4_main_map)
- MCFG_TIMER_DRIVER_ADD_PERIODIC("irq", s4_state, irq, attotime::from_hz(250))
+ TIMER(config, "irq").configure_periodic(FUNC(s4_state::irq), attotime::from_hz(250));
MCFG_MACHINE_RESET_OVERRIDE(s4_state, s4)
/* Video */