summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mpu12wbk.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-02-17 15:46:55 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-02-17 15:46:55 +0000
commita3e4a45f1a514eb3743c2aea07353ec6f950fb7a (patch)
tree3d306087e66de98834e6d5f963b12b0ae9d2c3d2 /src/mame/drivers/mpu12wbk.c
parent231d7c709abb698929c7871112c442b7c95015e6 (diff)
moved optional_device<gfxdecode_device> to specific drivers state classes (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 3809bf7285e..5155a23ea26 100644
--- a/src/mame/drivers/mpu12wbk.c
+++ b/src/mame/drivers/mpu12wbk.c
@@ -220,7 +220,8 @@ public:
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
- m_maincpu(*this, "maincpu") { }
+ m_maincpu(*this, "maincpu"),
+ m_gfxdecode(*this, "gfxdecode") { }
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_colorram;
@@ -233,6 +234,7 @@ public:
virtual void palette_init();
UINT32 screen_update_mpu12wbk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
+ required_device<gfxdecode_device> m_gfxdecode;
};