summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-20 16:22:44 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-20 16:22:44 -0400
commitee820fde5113700a71f4c52a704f85e6339fb0ec (patch)
treee471f74126db581d06add4be2bd2725a1acb32f0 /src/mame/includes
parent2a4a7e44652e07593139482fa5892c6f313a0970 (diff)
mhavoc: Use array finder for POKEYs (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 c579a2a58c6..1b2aa3ec738 100644
--- a/src/mame/includes/mhavoc.h
+++ b/src/mame/includes/mhavoc.h
@@ -7,6 +7,7 @@
*************************************************************************/
#include "machine/timer.h"
+#include "sound/pokey.h"
#define MHAVOC_CLOCK 10000000
#define MHAVOC_CLOCK_5M (MHAVOC_CLOCK/2)
@@ -28,6 +29,7 @@ public:
m_zram1(*this, "zram1"),
m_alpha(*this, "alpha"),
m_gamma(*this, "gamma"),
+ m_pokey(*this, "pokey%u", 1U),
m_lamp(*this, "lamp%u", 0U)
{ }
@@ -73,6 +75,7 @@ protected:
required_shared_ptr<uint8_t> m_zram1;
required_device<cpu_device> m_alpha;
optional_device<cpu_device> m_gamma;
+ optional_device_array<pokey_device, 4> m_pokey;
output_finder<2> m_lamp;
uint8_t m_alpha_data;
uint8_t m_alpha_rcvd;