summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tc009xlvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/tc009xlvc.h')
-rw-r--r--src/devices/machine/tc009xlvc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/machine/tc009xlvc.h b/src/devices/machine/tc009xlvc.h
index 17273249baa..296ebd92349 100644
--- a/src/devices/machine/tc009xlvc.h
+++ b/src/devices/machine/tc009xlvc.h
@@ -18,7 +18,7 @@ public:
tc0091lvc_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)); }
DECLARE_READ8_MEMBER( vregs_r );
DECLARE_WRITE8_MEMBER( vregs_w );
@@ -83,8 +83,4 @@ private:
DECLARE_DEVICE_TYPE(TC0091LVC, tc0091lvc_device)
-
-#define MCFG_TC0091LVC_GFXDECODE(gfxtag) \
- downcast<tc0091lvc_device &>(*device).set_gfxdecode_tag(gfxtag);
-
#endif // MAME_MACHINE_TL009XLVC_H