diff options
author | 2018-12-20 22:28:07 +0100 | |
---|---|---|
committer | 2018-12-20 22:28:31 +0100 | |
commit | 39f209a7e1c8c7d760a44b14688b14d1322707e6 (patch) | |
tree | c57b885119621b9413f8f8b7b17aca571373ac70 /src/devices/sound/ics2115.h | |
parent | a9e6f19320a9f0c8489c6001b23a72ab232b23a0 (diff) |
-devices/sound/aica, flt_rc, ics2115, k007232, k053260, sp0250, upd7759: Removed MCFG macros. [Ryan Holtz]
-drivers/ajax, asterix, bottom9, chqflag, fastlane, flkatck, gradius3, igs_fear, igs011, mainevt, overdriv,
pgm, segapico, spy, twin16, wecleman: Removed MACHINE_CONFIG macros. [Ryan Holtz]
Diffstat (limited to 'src/devices/sound/ics2115.h')
-rw-r--r-- | src/devices/sound/ics2115.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/devices/sound/ics2115.h b/src/devices/sound/ics2115.h index 66feda4b48e..57afef9f0c1 100644 --- a/src/devices/sound/ics2115.h +++ b/src/devices/sound/ics2115.h @@ -7,16 +7,6 @@ //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define MCFG_ICS2115_ADD(_tag, _clock) \ - MCFG_DEVICE_ADD(_tag, ICS2115, _clock) - -#define MCFG_ICS2115_IRQ_CB(_devcb) \ - downcast<ics2115_device &>(*device).set_irq_callback(DEVCB_##_devcb); - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -29,6 +19,7 @@ public: ics2115_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template <class Object> devcb_base &set_irq_callback(Object &&cb) { return m_irq_cb.set_callback(std::forward<Object>(cb)); } + auto irq() { return m_irq_cb.bind(); } DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); |