summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timelimt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timelimt.cpp')
-rw-r--r--src/mame/drivers/timelimt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/timelimt.cpp b/src/mame/drivers/timelimt.cpp
index 6ab4f08e538..41c8b140247 100644
--- a/src/mame/drivers/timelimt.cpp
+++ b/src/mame/drivers/timelimt.cpp
@@ -15,6 +15,7 @@ Notes:
#include "emu.h"
#include "cpu/z80/z80.h"
+#include "machine/watchdog.h"
#include "sound/ay8910.h"
#include "includes/timelimt.h"
@@ -66,7 +67,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( main_io_map, AS_IO, 8, timelimt_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x00) AM_READ(watchdog_reset_r)
+ AM_RANGE(0x00, 0x00) AM_DEVREAD("watchdog", watchdog_timer_device, reset_r)
ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, timelimt_state )
@@ -230,6 +231,7 @@ static MACHINE_CONFIG_START( timelimt, timelimt_state )
MCFG_QUANTUM_TIME(attotime::from_hz(3000))
+ MCFG_WATCHDOG_ADD("watchdog")
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)