diff options
Diffstat (limited to 'src/devices/sound/ym2151.h')
-rw-r--r-- | src/devices/sound/ym2151.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/devices/sound/ym2151.h b/src/devices/sound/ym2151.h index a25a424017b..e797a88724b 100644 --- a/src/devices/sound/ym2151.h +++ b/src/devices/sound/ym2151.h @@ -37,16 +37,6 @@ //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_YM2151_IRQ_HANDLER(_devcb) \ - downcast<ym2151_device &>(*device).set_irq_handler(DEVCB_##_devcb); -#define MCFG_YM2151_PORT_WRITE_HANDLER(_devcb) \ - downcast<ym2151_device &>(*device).set_port_write_handler(DEVCB_##_devcb); - - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -61,8 +51,6 @@ public: ym2151_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // configuration helpers - template <class Object> devcb_base &set_irq_handler(Object &&cb) { return m_irqhandler.set_callback(std::forward<Object>(cb)); } - template <class Object> devcb_base &set_port_write_handler(Object &&cb) { return m_portwritehandler.set_callback(std::forward<Object>(cb)); } auto irq_handler() { return m_irqhandler.bind(); } auto port_write_handler() { return m_portwritehandler.bind(); } |