diff options
Diffstat (limited to 'src/mame/includes/xexex.h')
-rw-r--r-- | src/mame/includes/xexex.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mame/includes/xexex.h b/src/mame/includes/xexex.h index a77801fe8e8..17280344111 100644 --- a/src/mame/includes/xexex.h +++ b/src/mame/includes/xexex.h @@ -16,6 +16,7 @@ #include "video/k054338.h" #include "video/k053251.h" #include "video/konami_helper.h" +#include "machine/k054321.h" #include "screen.h" class xexex_state : public driver_device @@ -40,9 +41,7 @@ public: m_k054338(*this, "k054338"), m_palette(*this, "palette"), m_screen(*this, "screen"), - m_soundlatch(*this, "soundlatch"), - m_soundlatch2(*this, "soundlatch2"), - m_soundlatch3(*this, "soundlatch3") { } + m_k054321(*this, "k054321") { } /* memory pointers */ required_shared_ptr<uint16_t> m_workram; @@ -78,19 +77,14 @@ public: required_device<k054338_device> m_k054338; required_device<palette_device> m_palette; required_device<screen_device> m_screen; - required_device<generic_latch_8_device> m_soundlatch; - required_device<generic_latch_8_device> m_soundlatch2; - required_device<generic_latch_8_device> m_soundlatch3; + required_device<k054321_device> m_k054321; DECLARE_READ16_MEMBER(spriteram_mirror_r); DECLARE_WRITE16_MEMBER(spriteram_mirror_w); DECLARE_READ16_MEMBER(xexex_waitskip_r); DECLARE_READ16_MEMBER(control2_r); DECLARE_WRITE16_MEMBER(control2_w); - DECLARE_WRITE16_MEMBER(sound_cmd1_w); - DECLARE_WRITE16_MEMBER(sound_cmd2_w); DECLARE_WRITE16_MEMBER(sound_irq_w); - DECLARE_READ16_MEMBER(sound_status_r); DECLARE_WRITE8_MEMBER(sound_bankswitch_w); DECLARE_DRIVER_INIT(xexex); virtual void machine_start() override; |