summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.cpp
diff options
context:
space:
mode:
author Miodrag Milanović <mmicko@gmail.com>2016-05-01 07:39:15 +0200
committer Miodrag Milanović <mmicko@gmail.com>2016-05-01 07:39:15 +0200
commitc51af01720d8394da45484ec4d64c9b8c72068cb (patch)
treefaea5046699e40036a602d0034250bef5ad10dde /src/emu/driver.cpp
parenta320b64f3abf00a94d7202b359e0f8ec7ca86686 (diff)
parentdafe4d8e22d41a6d2f79c1d1d076ca1a18291401 (diff)
Merge pull request #844 from ajrhacker/watchdog
Make watchdog timer a separate device [AJR]
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index a2240ee7dd7..5319b9110b4 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -381,6 +381,8 @@ INTERRUPT_GEN_MEMBER( driver_device::irq7_line_assert ) { device.execute().set_i
// WATCHDOG READ/WRITE HELPERS
//**************************************************************************
+#ifdef LEGACY_WATCHDOG
+
//-------------------------------------------------
// 8-bit reset read/write handlers
//-------------------------------------------------
@@ -404,6 +406,8 @@ READ16_MEMBER( driver_device::watchdog_reset16_r ) { machine().watchdog_reset();
WRITE32_MEMBER( driver_device::watchdog_reset32_w ) { machine().watchdog_reset(); }
READ32_MEMBER( driver_device::watchdog_reset32_r ) { machine().watchdog_reset(); return space.unmap(); }
+#endif
+
//**************************************************************************