summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/esh.c
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2014-02-17 15:46:55 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2014-02-17 15:46:55 +0000
commita3e4a45f1a514eb3743c2aea07353ec6f950fb7a (patch) (github)
tree3d306087e66de98834e6d5f963b12b0ae9d2c3d2 /src/mame/drivers/esh.c
parent231d7c709abb698929c7871112c442b7c95015e6 (diff)
downloadmame-a3e4a45f1a514eb3743c2aea07353ec6f950fb7a.tar.bz2
mame-a3e4a45f1a514eb3743c2aea07353ec6f950fb7a.zip
moved optional_device<gfxdecode_device> to specific drivers state classes (nw)
Diffstat (limited to 'src/mame/drivers/esh.c')
-rw-r--r--src/mame/drivers/esh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/esh.c b/src/mame/drivers/esh.c
index 7965f502be0..af9d1bf37bc 100644
--- a/src/mame/drivers/esh.c
+++ b/src/mame/drivers/esh.c
@@ -41,7 +41,8 @@ public:
m_laserdisc(*this, "laserdisc") ,
m_tile_ram(*this, "tile_ram"),
m_tile_control_ram(*this, "tile_ctrl_ram"),
- m_maincpu(*this, "maincpu") { }
+ m_maincpu(*this, "maincpu"),
+ m_gfxdecode(*this, "gfxdecode") { }
required_device<pioneer_ldv1000_device> m_laserdisc;
required_shared_ptr<UINT8> m_tile_ram;
@@ -58,6 +59,7 @@ public:
UINT32 screen_update_esh(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(vblank_callback_esh);
required_device<cpu_device> m_maincpu;
+ required_device<gfxdecode_device> m_gfxdecode;
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);