diff options
Diffstat (limited to 'src/mame/video/deckarn.h')
-rw-r--r-- | src/mame/video/deckarn.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/video/deckarn.h b/src/mame/video/deckarn.h index 33dd49eb5ec..6c0cb13b7f0 100644 --- a/src/mame/video/deckarn.h +++ b/src/mame/video/deckarn.h @@ -9,6 +9,7 @@ public: // static configuration static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int region); protected: @@ -18,9 +19,13 @@ protected: UINT8 m_gfxregion; private: required_device<gfxdecode_device> m_gfxdecode; + required_device<palette_device> m_palette; }; extern const device_type DECO_KARNOVSPRITES; #define MCFG_DECO_KARNOVSPRITES_GFXDECODE(_gfxtag) \ deco_karnovsprites_device::static_set_gfxdecode_tag(*device, "^" _gfxtag); + +#define MCFG_DECO_KARNOVSPRITES_PALETTE(_palette_tag) \ + deco_karnovsprites_device::static_set_palette_tag(*device, "^" _palette_tag); |