summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/vsystem_spr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/vsystem_spr.h')
-rw-r--r--src/mame/video/vsystem_spr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/video/vsystem_spr.h b/src/mame/video/vsystem_spr.h
index 71c0c4cd7f0..802a844540d 100644
--- a/src/mame/video/vsystem_spr.h
+++ b/src/mame/video/vsystem_spr.h
@@ -15,6 +15,8 @@ typedef device_delegate<UINT32 (UINT32)> vsystem_tile_indirection_delegate;
vsystem_spr_device::CG10103_set_transpen(*device, _transpen);
#define MCFG_VSYSTEM_SPR_GFXDECODE(_gfxtag) \
vsystem_spr_device::static_set_gfxdecode_tag(*device, "^" _gfxtag);
+#define MCFG_VSYSTEM_SPR_PALETTE(_palette_tag) \
+ vsystem_spr_device::static_set_palette_tag(*device, "^" _palette_tag);
/*** CG10103 **********************************************/
@@ -25,6 +27,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_offsets(device_t &device, int xoffs, int yoffs);
static void set_pdraw(device_t &device, bool pdraw);
static void set_tile_indirect_cb(device_t &device,vsystem_tile_indirection_delegate newtilecb);
@@ -71,8 +74,8 @@ protected:
virtual void device_reset();
private:
-
required_device<gfxdecode_device> m_gfxdecode;
+ required_device<palette_device> m_palette;
};