diff options
Diffstat (limited to 'src/mame/video/k054156_k054157_k056832.h')
-rw-r--r-- | src/mame/video/k054156_k054157_k056832.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/video/k054156_k054157_k056832.h b/src/mame/video/k054156_k054157_k056832.h index 8cf90f8b9fe..1729e4fa656 100644 --- a/src/mame/video/k054156_k054157_k056832.h +++ b/src/mame/video/k054156_k054157_k056832.h @@ -61,6 +61,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); void SetExtLinescroll(); /* Lethal Enforcers */ @@ -219,6 +220,7 @@ private: void finalize_init(running_machine &machine); required_device<gfxdecode_device> m_gfxdecode; + required_device<palette_device> m_palette; public: // todo: collapse these into above @@ -245,6 +247,8 @@ extern const device_type K056832; #define MCFG_K056832_GFXDECODE(_gfxtag) \ k056832_device::static_set_gfxdecode_tag(*device, "^" _gfxtag); +#define MCFG_K056832_PALETTE(_palette_tag) \ + k056832_device::static_set_palette_tag(*device, "^" _palette_tag); #endif |