diff options
Diffstat (limited to 'src/emu/machine/tc009xlvc.h')
-rw-r--r-- | src/emu/machine/tc009xlvc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/machine/tc009xlvc.h b/src/emu/machine/tc009xlvc.h index e374f7603e6..66c57c3cdf5 100644 --- a/src/emu/machine/tc009xlvc.h +++ b/src/emu/machine/tc009xlvc.h @@ -19,6 +19,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); DECLARE_READ8_MEMBER( vregs_r ); DECLARE_WRITE8_MEMBER( vregs_w ); @@ -80,6 +81,7 @@ protected: virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const; address_space_config m_space_config; required_device<gfxdecode_device> m_gfxdecode; + required_device<palette_device> m_palette; }; extern const device_type TC0091LVC; @@ -87,5 +89,8 @@ extern const device_type TC0091LVC; #define MCFG_TC0091LVC_GFXDECODE(_gfxtag) \ tc0091lvc_device::static_set_gfxdecode_tag(*device, "^" _gfxtag); +#define MCFG_TC0091LVC_PALETTE(_palette_tag) \ + tc0091lvc_device::static_set_palette_tag(*device, "^" _palette_tag); + #endif |