summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/ddragon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/ddragon.h')
-rw-r--r--src/mame/includes/ddragon.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/includes/ddragon.h b/src/mame/includes/ddragon.h
index 357638e51be..4e794670b89 100644
--- a/src/mame/includes/ddragon.h
+++ b/src/mame/includes/ddragon.h
@@ -23,7 +23,9 @@ public:
m_subcpu(*this, "sub"),
m_adpcm1(*this, "adpcm1"),
m_adpcm2(*this, "adpcm2"),
- m_gfxdecode(*this, "gfxdecode") { }
+ m_gfxdecode(*this, "gfxdecode"),
+ m_screen(*this, "screen"),
+ m_palette(*this, "palette") { }
/* memory pointers */
optional_shared_ptr<UINT8> m_rambase;
@@ -71,6 +73,8 @@ public:
optional_device<msm5205_device> m_adpcm1;
optional_device<msm5205_device> m_adpcm2;
required_device<gfxdecode_device> m_gfxdecode;
+ required_device<screen_device> m_screen;
+ required_device<palette_device> m_palette;
int scanline_to_vcount(int scanline);