diff options
Diffstat (limited to 'src/mame/video/vsystem_gga.h')
-rw-r--r-- | src/mame/video/vsystem_gga.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mame/video/vsystem_gga.h b/src/mame/video/vsystem_gga.h index 02e633c2b38..01654aa7718 100644 --- a/src/mame/video/vsystem_gga.h +++ b/src/mame/video/vsystem_gga.h @@ -46,13 +46,6 @@ #pragma once -//************************************************************************** -// CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_VSYSTEM_GGA_REGISTER_WRITE_CB(_devcb) \ - downcast<vsystem_gga_device &>(*device).set_write_cb(DEVCB_##_devcb); - //************************************************************************** // TYPE DEFINITIONS @@ -67,7 +60,7 @@ public: vsystem_gga_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); // static configuration - template<class Obj> devcb_base &set_write_cb(Obj &&object) { return m_write_cb.set_callback(std::forward<Obj>(object)); } + auto write_cb() { return m_write_cb.bind(); } // memory handlers DECLARE_WRITE8_MEMBER(write); |