diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2016-04-30 16:31:47 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2016-04-30 16:39:27 -0400 |
commit | dafe4d8e22d41a6d2f79c1d1d076ca1a18291401 (patch) | |
tree | 11a27122fbf7a667498a60c1270443e6c75c4e27 /src/mame/includes/poolshrk.h | |
parent | a717ba24ede14435f1c4f0dd15f76b2812db27b7 (diff) |
Make watchdog timer a separate device
- Separate watchdog implementation from running_machine (once again) and driver_device
- Old-style methods, now hidden behind #ifdefs, will probably be safe to remove soon
Diffstat (limited to 'src/mame/includes/poolshrk.h')
-rw-r--r-- | src/mame/includes/poolshrk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/includes/poolshrk.h b/src/mame/includes/poolshrk.h index c6196e08d55..ee10110e0ba 100644 --- a/src/mame/includes/poolshrk.h +++ b/src/mame/includes/poolshrk.h @@ -6,6 +6,7 @@ *************************************************************************/ +#include "machine/watchdog.h" #include "sound/discrete.h" /* Discrete Sound Input Nodes */ @@ -16,6 +17,7 @@ public: poolshrk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), + m_watchdog(*this, "watchdog"), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), m_discrete(*this, "discrete"), @@ -24,6 +26,7 @@ public: m_vpos_ram(*this, "vpos_ram") { } required_device<cpu_device> m_maincpu; + required_device<watchdog_timer_device> m_watchdog; required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; required_device<discrete_device> m_discrete; |