summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mystwarr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mystwarr.h')
-rw-r--r--src/mame/includes/mystwarr.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/mame/includes/mystwarr.h b/src/mame/includes/mystwarr.h
index 3a59e3850f3..bebbcfa2130 100644
--- a/src/mame/includes/mystwarr.h
+++ b/src/mame/includes/mystwarr.h
@@ -9,6 +9,7 @@
#include "machine/k053252.h"
#include "video/k055555.h"
#include "video/k054000.h"
+#include "machine/k054321.h"
class mystwarr_state : public konamigx_state
{
@@ -19,9 +20,7 @@ public:
m_k053252(*this, "k053252"),
m_k056832(*this, "k056832"),
m_k055673(*this, "k055673"),
- m_soundlatch(*this, "soundlatch"),
- m_soundlatch2(*this, "soundlatch2"),
- m_soundlatch3(*this, "soundlatch3"),
+ m_k054321(*this, "k054321"),
m_gx_workram(*this,"gx_workram"),
m_spriteram(*this,"spriteram")
{ }
@@ -30,9 +29,7 @@ public:
required_device<k053252_device> m_k053252;
required_device<k056832_device> m_k056832;
required_device<k055673_device> m_k055673;
- 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;
required_shared_ptr<uint16_t> m_gx_workram;
optional_shared_ptr<uint16_t> m_spriteram;
std::unique_ptr<uint8_t[]> m_decoded;
@@ -58,13 +55,7 @@ public:
DECLARE_WRITE16_MEMBER(mweeprom_w);
DECLARE_READ16_MEMBER(dddeeprom_r);
DECLARE_WRITE16_MEMBER(mmeeprom_w);
- DECLARE_WRITE16_MEMBER(sound_cmd1_w);
- DECLARE_WRITE16_MEMBER(sound_cmd1_msb_w);
- DECLARE_WRITE16_MEMBER(sound_cmd2_w);
- DECLARE_WRITE16_MEMBER(sound_cmd2_msb_w);
DECLARE_WRITE16_MEMBER(sound_irq_w);
- DECLARE_READ16_MEMBER(sound_status_r);
- DECLARE_READ16_MEMBER(sound_status_msb_r);
DECLARE_WRITE16_MEMBER(irq_ack_w);
DECLARE_READ16_MEMBER(k053247_scattered_word_r);
DECLARE_WRITE16_MEMBER(k053247_scattered_word_w);