summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-21 02:27:48 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-21 02:27:48 -0400
commitd205197fe000f59f378156639bffd04bce6ecfc3 (patch)
tree2fae7f56eda102dfbeb856ac65400ed84267f745 /src/mame/includes
parent5844d38beba702c9e27d7e52f42845c4ff62ca52 (diff)
mhavoc.cpp: Use device finder for TMS5220 (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/mhavoc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/includes/mhavoc.h b/src/mame/includes/mhavoc.h
index 1b2aa3ec738..e34cea36a40 100644
--- a/src/mame/includes/mhavoc.h
+++ b/src/mame/includes/mhavoc.h
@@ -8,6 +8,7 @@
#include "machine/timer.h"
#include "sound/pokey.h"
+#include "sound/tms5220.h"
#define MHAVOC_CLOCK 10000000
#define MHAVOC_CLOCK_5M (MHAVOC_CLOCK/2)
@@ -30,6 +31,7 @@ public:
m_alpha(*this, "alpha"),
m_gamma(*this, "gamma"),
m_pokey(*this, "pokey%u", 1U),
+ m_tms(*this, "tms"),
m_lamp(*this, "lamp%u", 0U)
{ }
@@ -76,6 +78,7 @@ protected:
required_device<cpu_device> m_alpha;
optional_device<cpu_device> m_gamma;
optional_device_array<pokey_device, 4> m_pokey;
+ optional_device<tms5220_device> m_tms;
output_finder<2> m_lamp;
uint8_t m_alpha_data;
uint8_t m_alpha_rcvd;