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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/nitedrvr.cpp b/src/mame/drivers/nitedrvr.cpp
index 62485722bf4..a65d3ac2cbc 100644
--- a/src/mame/drivers/nitedrvr.cpp
+++ b/src/mame/drivers/nitedrvr.cpp
@@ -147,8 +147,7 @@ MACHINE_CONFIG_START(nitedrvr_state::nitedrvr)
MCFG_DEVICE_PROGRAM_MAP(nitedrvr_map)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", nitedrvr_state, irq0_line_hold)
- MCFG_WATCHDOG_ADD("watchdog")
- MCFG_WATCHDOG_VBLANK_INIT("screen", 3)
+ 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)))