summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/junior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/junior.cpp')
-rw-r--r--src/mame/drivers/junior.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/junior.cpp b/src/mame/drivers/junior.cpp
index 83072d16866..771bca1c347 100644
--- a/src/mame/drivers/junior.cpp
+++ b/src/mame/drivers/junior.cpp
@@ -243,7 +243,7 @@ MACHINE_CONFIG_START(junior_state::junior)
m_riot->irq_wr_callback().set_inputline(m_maincpu, M6502_IRQ_LINE);
- MCFG_TIMER_DRIVER_ADD_PERIODIC("led_timer", junior_state, junior_update_leds, attotime::from_hz(50))
+ TIMER(config, "led_timer").configure_periodic(FUNC(junior_state::junior_update_leds), attotime::from_hz(50));
MACHINE_CONFIG_END