summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dorachan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dorachan.c')
-rw-r--r--src/mame/drivers/dorachan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/dorachan.c b/src/mame/drivers/dorachan.c
index b437335d662..5d8f46f3311 100644
--- a/src/mame/drivers/dorachan.c
+++ b/src/mame/drivers/dorachan.c
@@ -21,7 +21,8 @@ public:
dorachan_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_maincpu(*this, "maincpu") { }
+ m_maincpu(*this, "maincpu"),
+ m_screen(*this, "screen") { }
/* memory pointers */
required_shared_ptr<UINT8> m_videoram;
@@ -37,6 +38,7 @@ public:
virtual void machine_reset();
UINT32 screen_update_dorachan(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
+ required_device<screen_device> m_screen;
};