summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/homedata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/homedata.h')
-rw-r--r--src/mame/includes/homedata.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h
index 886b1341ff0..e767abe4bae 100644
--- a/src/mame/includes/homedata.h
+++ b/src/mame/includes/homedata.h
@@ -29,7 +29,8 @@ public:
m_soundlatch(*this, "soundlatch"),
m_mainlatch(*this, "mainlatch"),
m_sn(*this, "snsnd"),
- m_mrokumei_soundbank(*this, "mrokumei_soundbank")
+ m_mrokumei_soundbank(*this, "mrokumei_soundbank"),
+ m_keys(*this, "KEY%u", 0U)
{
}
@@ -85,6 +86,8 @@ private:
optional_device<sn76489a_device> m_sn; // mrokumei and pteacher
optional_device<address_map_bank_device> m_mrokumei_soundbank; // mrokumei
+ optional_ioport_array<12> m_keys;
+
uint8_t m_prot_data;
DECLARE_READ8_MEMBER(mrokumei_keyboard_r);
DECLARE_WRITE8_MEMBER(mrokumei_keyboard_select_w);