summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sprint4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sprint4.cpp')
-rw-r--r--src/mame/drivers/sprint4.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/sprint4.cpp b/src/mame/drivers/sprint4.cpp
index 5efaa9cfd26..41e6ed78b80 100644
--- a/src/mame/drivers/sprint4.cpp
+++ b/src/mame/drivers/sprint4.cpp
@@ -385,8 +385,7 @@ MACHINE_CONFIG_START(sprint4_state::sprint4)
MCFG_DEVICE_ADD("maincpu", M6502, PIXEL_CLOCK / 8)
MCFG_DEVICE_PROGRAM_MAP(sprint4_cpu_map)
- MCFG_WATCHDOG_ADD("watchdog")
- MCFG_WATCHDOG_VBLANK_INIT("screen", 8)
+ WATCHDOG_TIMER(config, m_watchdog).set_vblank_count("screen", 8);
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)