diff options
Diffstat (limited to 'src/mame/includes/gameplan.h')
-rw-r--r-- | src/mame/includes/gameplan.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/includes/gameplan.h b/src/mame/includes/gameplan.h index d01d6d969a9..f668b23d338 100644 --- a/src/mame/includes/gameplan.h +++ b/src/mame/includes/gameplan.h @@ -10,6 +10,7 @@ driver by Chris Moore #include "machine/6522via.h" #include "machine/6532riot.h" +#include "machine/gen_latch.h" #define GAMEPLAN_MAIN_MASTER_CLOCK (XTAL_3_579545MHz) #define GAMEPLAN_AUDIO_MASTER_CLOCK (XTAL_3_579545MHz) @@ -43,7 +44,8 @@ public: m_via_0(*this, "via6522_0"), m_via_1(*this, "via6522_1"), m_via_2(*this, "via6522_2"), - m_screen(*this, "screen") { } + m_screen(*this, "screen"), + m_soundlatch(*this, "soundlatch") { } /* machine state */ UINT8 m_current_port; @@ -66,6 +68,9 @@ public: required_device<via6522_device> m_via_1; required_device<via6522_device> m_via_2; required_device<screen_device> m_screen; + optional_device<generic_latch_8_device> m_soundlatch; + + DECLARE_WRITE8_MEMBER(io_select_w); DECLARE_READ8_MEMBER(io_port_r); DECLARE_WRITE_LINE_MEMBER(coin_w); |