summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/truco.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/truco.h')
-rw-r--r--src/mame/includes/truco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/includes/truco.h b/src/mame/includes/truco.h
index c79319efbb9..917e184bc32 100644
--- a/src/mame/includes/truco.h
+++ b/src/mame/includes/truco.h
@@ -1,5 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Ernesto Corvi, Roberto Fresca
+
+#include "machine/watchdog.h"
#include "sound/dac.h"
class truco_state : public driver_device
@@ -8,11 +10,13 @@ public:
truco_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_dac(*this, "dac"),
m_videoram(*this, "videoram"),
m_battery_ram(*this, "battery_ram") { }
required_device<cpu_device> m_maincpu;
+ required_device<watchdog_timer_device> m_watchdog;
required_device<dac_device> m_dac;
required_shared_ptr<UINT8> m_videoram;