summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nitedrvr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nitedrvr.cpp')
-rw-r--r--src/mame/drivers/nitedrvr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/nitedrvr.cpp b/src/mame/drivers/nitedrvr.cpp
index 9d8a10441bf..eae9445e74f 100644
--- a/src/mame/drivers/nitedrvr.cpp
+++ b/src/mame/drivers/nitedrvr.cpp
@@ -149,7 +149,7 @@ MACHINE_CONFIG_START(nitedrvr_state::nitedrvr)
WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 3);
- MCFG_TIMER_DRIVER_ADD_PERIODIC("crash_timer", nitedrvr_state, nitedrvr_crash_toggle_callback, PERIOD_OF_555_ASTABLE(RES_K(180), 330, CAP_U(1)))
+ TIMER(config, "crash_timer").configure_periodic(FUNC(nitedrvr_state::nitedrvr_crash_toggle_callback), PERIOD_OF_555_ASTABLE(RES_K(180), 330, CAP_U(1)));
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)