summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/shuuz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/shuuz.cpp')
-rw-r--r--src/mame/drivers/shuuz.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/shuuz.cpp b/src/mame/drivers/shuuz.cpp
index 96098b00046..27ca1d95ac1 100644
--- a/src/mame/drivers/shuuz.cpp
+++ b/src/mame/drivers/shuuz.cpp
@@ -21,6 +21,7 @@
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/watchdog.h"
#include "sound/okim6295.h"
#include "includes/shuuz.h"
@@ -110,7 +111,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, shuuz_state )
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x100000, 0x100fff) AM_DEVREADWRITE8("eeprom", atari_eeprom_device, read, write, 0x00ff)
AM_RANGE(0x101000, 0x101fff) AM_DEVWRITE("eeprom", atari_eeprom_device, unlock_write)
- AM_RANGE(0x102000, 0x102001) AM_WRITE(watchdog_reset16_w)
+ AM_RANGE(0x102000, 0x102001) AM_DEVWRITE("watchdog", watchdog_timer_device, reset16_w)
AM_RANGE(0x103000, 0x103003) AM_READ(leta_r)
AM_RANGE(0x105000, 0x105001) AM_READWRITE(special_port0_r, latch_w)
AM_RANGE(0x105002, 0x105003) AM_READ_PORT("BUTTONS")
@@ -235,6 +236,8 @@ static MACHINE_CONFIG_START( shuuz, shuuz_state )
MCFG_ATARI_EEPROM_2816_ADD("eeprom")
+ MCFG_WATCHDOG_ADD("watchdog")
+
/* video hardware */
MCFG_GFXDECODE_ADD("gfxdecode", "palette", shuuz)
MCFG_PALETTE_ADD("palette", 1024)