summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mpu12wbk.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-10 08:42:34 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-10 08:42:34 +0000
commit9be192b9a41faf1f4f9d9b719440440d88671887 (patch)
treece9ccd90a2076d64fbded9b7487b0a7b088b0ba2 /src/mame/drivers/mpu12wbk.c
parentd68164b4c1216ac23354ac3a4634048c2c0e998a (diff)
added m_maincpu where missing in driver classes that are placed in drivers (nw)
Diffstat (limited to 'src/mame/drivers/mpu12wbk.c')
-rw-r--r--src/mame/drivers/mpu12wbk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/mpu12wbk.c b/src/mame/drivers/mpu12wbk.c
index e73bab78b5a..2b2037ef461 100644
--- a/src/mame/drivers/mpu12wbk.c
+++ b/src/mame/drivers/mpu12wbk.c
@@ -219,7 +219,8 @@ public:
mpu12wbk_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_colorram(*this, "colorram"){ }
+ m_colorram(*this, "colorram"),
+ m_maincpu(*this, "maincpu") { }
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
@@ -231,6 +232,7 @@ public:
virtual void video_start();
virtual void palette_init();
UINT32 screen_update_mpu12wbk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ required_device<cpu_device> m_maincpu;
};