diff options
Diffstat (limited to 'src/mame/video/tc0180vcu.h')
-rw-r--r-- | src/mame/video/tc0180vcu.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/video/tc0180vcu.h b/src/mame/video/tc0180vcu.h index 7d2a6800f19..d3cd188f64c 100644 --- a/src/mame/video/tc0180vcu.h +++ b/src/mame/video/tc0180vcu.h @@ -10,11 +10,11 @@ class tc0180vcu_device : public device_t public: tc0180vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - // static configuration - static void static_set_gfxdecode_tag(device_t &device, const char *tag); - static void set_bg_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_bg_color_base = color; } - static void set_fg_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_fg_color_base = color; } - static void set_tx_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_tx_color_base = color; } + // configuration + void set_gfxdecode_tag(const char *tag); + void set_bg_colorbase(int color) { m_bg_color_base = color; } + void set_fg_colorbase(int color) { m_fg_color_base = color; } + void set_tx_colorbase(int color) { m_tx_color_base = color; } DECLARE_READ8_MEMBER( get_fb_page ); DECLARE_WRITE8_MEMBER( set_fb_page ); @@ -61,15 +61,15 @@ private: DECLARE_DEVICE_TYPE(TC0180VCU, tc0180vcu_device) #define MCFG_TC0180VCU_BG_COLORBASE(_color) \ - tc0180vcu_device::set_bg_colorbase(*device, _color); + downcast<tc0180vcu_device &>(*device).set_bg_colorbase(_color); #define MCFG_TC0180VCU_FG_COLORBASE(_color) \ - tc0180vcu_device::set_fg_colorbase(*device, _color); + downcast<tc0180vcu_device &>(*device).set_fg_colorbase(_color); #define MCFG_TC0180VCU_TX_COLORBASE(_color) \ - tc0180vcu_device::set_tx_colorbase(*device, _color); + downcast<tc0180vcu_device &>(*device).set_tx_colorbase(_color); #define MCFG_TC0180VCU_GFXDECODE(_gfxtag) \ - tc0180vcu_device::static_set_gfxdecode_tag(*device, "^" _gfxtag); + downcast<tc0180vcu_device &>(*device).set_gfxdecode_tag("^" _gfxtag); #endif // MAME_VIDEO_TC0180VCU_H |