summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/chessmst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/chessmst.c')
-rw-r--r--src/mess/drivers/chessmst.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mess/drivers/chessmst.c b/src/mess/drivers/chessmst.c
index 263abdc8433..5ded13b966c 100644
--- a/src/mess/drivers/chessmst.c
+++ b/src/mess/drivers/chessmst.c
@@ -22,7 +22,8 @@ public:
chessmst_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_speaker(*this, SPEAKER_TAG)
- { }
+ ,
+ m_maincpu(*this, "maincpu") { }
required_device<speaker_sound_device> m_speaker;
@@ -37,6 +38,7 @@ public:
DECLARE_READ8_MEMBER( pio2_port_a_r );
DECLARE_WRITE8_MEMBER( pio2_port_b_w );
DECLARE_INPUT_CHANGED_MEMBER(chessmst_sensor);
+ required_device<cpu_device> m_maincpu;
};