summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/chessmst.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-10 11:31:17 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-10 11:31:17 +0000
commit10d146a6be20998acfca4e5533c8fe35f50ada9e (patch)
tree963d8ffd698ed08017935ac958a333e7b8a20290 /src/mess/drivers/chessmst.c
parenta77e9c9f62b001c1519f8a3262524c5347f78f36 (diff)
changed machine().device("maincpu") with m_maincpu in mess tree part (nw)
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;
};