diff options
Diffstat (limited to 'src/devices/video/huc6272.h')
-rw-r--r-- | src/devices/video/huc6272.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/devices/video/huc6272.h b/src/devices/video/huc6272.h index cd931a1dae9..8d7f0583600 100644 --- a/src/devices/video/huc6272.h +++ b/src/devices/video/huc6272.h @@ -18,17 +18,6 @@ //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_HUC6272_IRQ_CHANGED_CB(cb) \ - downcast<huc6272_device &>(*device).set_irq_changed_callback((DEVCB_##cb)); - -#define MCFG_HUC6272_RAINBOW(tag) \ - downcast<huc6272_device &>(*device).set_rainbow_tag((tag)); - - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -41,7 +30,7 @@ public: // construction/destruction huc6272_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - template <class Object> devcb_base &set_irq_changed_callback(Object &&cb) { return m_irq_changed_cb.set_callback(std::forward<Object>(cb)); } + auto irq_changed_callback() { return m_irq_changed_cb.bind(); } template <typename T> void set_rainbow_tag(T &&tag) { m_huc6271.set_tag(std::forward<T>(tag)); } // I/O operations |