summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mega32x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mega32x.h')
-rw-r--r--src/mame/machine/mega32x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/mega32x.h b/src/mame/machine/mega32x.h
index 7679bd48276..e2f39c596dc 100644
--- a/src/mame/machine/mega32x.h
+++ b/src/mame/machine/mega32x.h
@@ -27,8 +27,8 @@ public:
update_total_scanlines(mode3);
}
- // static configuration
- static void static_set_palette_tag(device_t &device, const char *tag);
+ // configuration
+ void set_palette_tag(const char *tag) { m_palette.set_tag(tag); }
DECLARE_READ32_MEMBER( _32x_sh2_master_4000_common_4002_r );
DECLARE_READ32_MEMBER( _32x_sh2_slave_4000_common_4002_r );
@@ -223,6 +223,6 @@ DECLARE_DEVICE_TYPE(SEGA_32X_NTSC, sega_32x_ntsc_device)
DECLARE_DEVICE_TYPE(SEGA_32X_PAL, sega_32x_pal_device)
#define MCFG_SEGA_32X_PALETTE(_palette_tag) \
- sega_32x_device::static_set_palette_tag(*device, "^" _palette_tag);
+ downcast<sega_32x_device &>(*device).set_palette_tag("^" _palette_tag);
#endif // MAME_MACHINE_MEGA32X_H