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/includes/bk.h | |
parent | a77e9c9f62b001c1519f8a3262524c5347f78f36 (diff) |
changed machine().device("maincpu") with m_maincpu in mess tree part (nw)
Diffstat (limited to 'src/mess/includes/bk.h')
-rw-r--r-- | src/mess/includes/bk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mess/includes/bk.h b/src/mess/includes/bk.h index 7ac1de87cfb..c192b0f94aa 100644 --- a/src/mess/includes/bk.h +++ b/src/mess/includes/bk.h @@ -13,7 +13,8 @@ class bk_state : public driver_device public: bk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_bk0010_video_ram(*this, "video_ram"){ } + m_bk0010_video_ram(*this, "video_ram"), + m_maincpu(*this, "maincpu") { } UINT16 m_scrool; required_shared_ptr<UINT16> m_bk0010_video_ram; @@ -39,6 +40,7 @@ public: UINT32 screen_update_bk0010(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_CALLBACK_MEMBER(keyboard_callback); IRQ_CALLBACK_MEMBER(bk0010_irq_callback); + required_device<cpu_device> m_maincpu; }; #endif /* BK_H_ */ |