diff options
Diffstat (limited to 'src/mame/drivers/scotrsht.cpp')
-rw-r--r-- | src/mame/drivers/scotrsht.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/scotrsht.cpp b/src/mame/drivers/scotrsht.cpp index 56a8c98d332..37d18fbf8a2 100644 --- a/src/mame/drivers/scotrsht.cpp +++ b/src/mame/drivers/scotrsht.cpp @@ -37,6 +37,7 @@ Stephh's notes (based on the game M6502 code and some tests) : #include "emu.h" #include "cpu/z80/z80.h" #include "cpu/m6809/m6809.h" +#include "machine/watchdog.h" #include "sound/2203intf.h" #include "includes/konamipt.h" #include "includes/scotrsht.h" @@ -79,7 +80,7 @@ static ADDRESS_MAP_START( scotrsht_map, AS_PROGRAM, 8, scotrsht_state ) AM_RANGE(0x3301, 0x3301) AM_READ_PORT("P1") AM_RANGE(0x3302, 0x3302) AM_READ_PORT("P2") AM_RANGE(0x3303, 0x3303) AM_READ_PORT("DSW1") - AM_RANGE(0x3300, 0x3300) AM_WRITE(watchdog_reset_w) /* watchdog */ + AM_RANGE(0x3300, 0x3300) AM_DEVWRITE("watchdog", watchdog_timer_device, reset_w) AM_RANGE(0x4000, 0xffff) AM_ROM ADDRESS_MAP_END @@ -190,6 +191,8 @@ static MACHINE_CONFIG_START( scotrsht, scotrsht_state ) MCFG_CPU_PROGRAM_MAP(scotrsht_sound_map) MCFG_CPU_IO_MAP(scotrsht_sound_port) + MCFG_WATCHDOG_ADD("watchdog") + /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_REFRESH_RATE(60) |