diff options
author | 2013-04-10 11:31:17 +0000 | |
---|---|---|
committer | 2013-04-10 11:31:17 +0000 | |
commit | 10d146a6be20998acfca4e5533c8fe35f50ada9e (patch) | |
tree | 963d8ffd698ed08017935ac958a333e7b8a20290 /src/mess/drivers/ec65.c | |
parent | a77e9c9f62b001c1519f8a3262524c5347f78f36 (diff) |
changed machine().device("maincpu") with m_maincpu in mess tree part (nw)
Diffstat (limited to 'src/mess/drivers/ec65.c')
-rw-r--r-- | src/mess/drivers/ec65.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mess/drivers/ec65.c b/src/mess/drivers/ec65.c index de69fe8e043..6fe4bbffacf 100644 --- a/src/mess/drivers/ec65.c +++ b/src/mess/drivers/ec65.c @@ -29,7 +29,8 @@ public: ec65_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_via_0(*this, VIA6522_0_TAG), - m_p_videoram(*this, "videoram"){ } + m_p_videoram(*this, "videoram"), + m_maincpu(*this, "maincpu") { } DECLARE_READ8_MEMBER(ec65_via_read_a); DECLARE_READ8_MEMBER(ec65_read_ca1 ); @@ -43,6 +44,7 @@ public: required_shared_ptr<UINT8> m_p_videoram; virtual void machine_reset(); virtual void video_start(); + required_device<cpu_device> m_maincpu; }; static ADDRESS_MAP_START(ec65_mem, AS_PROGRAM, 8, ec65_state) |