summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/portrait.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/portrait.h')
-rw-r--r--src/mame/includes/portrait.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h
index a0395ae367e..952e03b892d 100644
--- a/src/mame/includes/portrait.h
+++ b/src/mame/includes/portrait.h
@@ -10,7 +10,8 @@ public:
m_fgvideoram(*this, "fgvideoram"),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
- m_gfxdecode(*this, "gfxdecode") { }
+ m_gfxdecode(*this, "gfxdecode"),
+ m_palette(*this, "palette") { }
required_device<tms5200_device> m_tms;
required_shared_ptr<UINT8> m_bgvideoram;
@@ -31,6 +32,7 @@ public:
UINT32 screen_update_portrait(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
inline void get_tile_info( tile_data &tileinfo, int tile_index, const UINT8 *source );
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
- required_device<cpu_device> m_maincpu;
+ required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
+ required_device<palette_device> m_palette;
};