summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mugsmash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mugsmash.h')
-rw-r--r--src/mame/includes/mugsmash.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h
index e670686d9c4..93cc654fc81 100644
--- a/src/mame/includes/mugsmash.h
+++ b/src/mame/includes/mugsmash.h
@@ -1,6 +1,8 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+#include "machine/gen_latch.h"
+
class mugsmash_state : public driver_device
{
public:
@@ -14,7 +16,8 @@ public:
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette"){ }
+ m_palette(*this, "palette"),
+ m_soundlatch(*this, "soundlatch") { }
required_shared_ptr<UINT16> m_videoram1;
required_shared_ptr<UINT16> m_videoram2;
@@ -29,6 +32,7 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
+ required_device<generic_latch_8_device> m_soundlatch;
DECLARE_WRITE16_MEMBER(mugsmash_reg2_w);
DECLARE_WRITE16_MEMBER(mugsmash_videoram1_w);