summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/mb_vcu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/mb_vcu.h')
-rw-r--r--src/devices/video/mb_vcu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/video/mb_vcu.h b/src/devices/video/mb_vcu.h
index 86ebcc883bf..c6e1d7b30f9 100644
--- a/src/devices/video/mb_vcu.h
+++ b/src/devices/video/mb_vcu.h
@@ -20,9 +20,9 @@ public:
// construction/destruction
mb_vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- // static configuration
- static void static_set_palette_tag(device_t &device, const char *tag);
- static void set_cpu_tag(device_t &device, const char *tag) { downcast<mb_vcu_device &>(device).m_cpu.set_tag(tag); }
+ // configuration
+ void set_palette_tag(const char *tag) { m_palette.set_tag(tag); }
+ void set_cpu_tag(const char *tag) { m_cpu.set_tag(tag); }
// I/O operations
DECLARE_WRITE8_MEMBER( write_vregs );
@@ -90,9 +90,9 @@ DECLARE_DEVICE_TYPE(MB_VCU, mb_vcu_device)
//**************************************************************************
#define MCFG_MB_VCU_CPU(_tag) \
- mb_vcu_device::set_cpu_tag(*device, "^" _tag);
+ downcast<mb_vcu_device &>(*device).set_cpu_tag("^" _tag);
#define MCFG_MB_VCU_PALETTE(_palette_tag) \
- mb_vcu_device::static_set_palette_tag(*device, "^" _palette_tag);
+ downcast<mb_vcu_device &>(*device).set_palette_tag("^" _palette_tag);
#endif // MAME_VIDEO_MB_VCU_H