summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/fuukifg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/fuukifg.h')
-rw-r--r--src/mame/video/fuukifg.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/video/fuukifg.h b/src/mame/video/fuukifg.h
index a523744e921..2aac6391cda 100644
--- a/src/mame/video/fuukifg.h
+++ b/src/mame/video/fuukifg.h
@@ -13,7 +13,7 @@ public:
fuukivid_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// configuration
- void set_gfxdecode_tag(const char *tag) { m_gfxdecode.set_tag(tag); }
+ template <typename T> void set_gfxdecode_tag(T &&tag) { m_gfxdecode.set_tag(std::forward<T>(tag)); }
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flip_screen, uint32_t* tilebank);
std::unique_ptr<uint16_t[]> m_sprram;
@@ -43,7 +43,4 @@ private:
DECLARE_DEVICE_TYPE(FUUKI_VIDEO, fuukivid_device)
-#define MCFG_FUUKI_VIDEO_GFXDECODE(_gfxtag) \
- downcast<fuukivid_device &>(*device).set_gfxdecode_tag(_gfxtag);
-
#endif // MAME_VIDEO_FUUKIFH_H