summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ymz280b.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ymz280b.h')
-rw-r--r--src/devices/sound/ymz280b.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/devices/sound/ymz280b.h b/src/devices/sound/ymz280b.h
index df52c60206b..62c80b23ec9 100644
--- a/src/devices/sound/ymz280b.h
+++ b/src/devices/sound/ymz280b.h
@@ -15,16 +15,12 @@
#define YMZ280B_MAKE_WAVS 0
-#define MCFG_YMZ280B_IRQ_HANDLER(_devcb) \
- downcast<ymz280b_device &>(*device).set_irq_handler(DEVCB_##_devcb);
-
class ymz280b_device : public device_t, public device_sound_interface, public device_rom_interface
{
public:
ymz280b_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_irq_handler.set_callback(std::forward<Object>(cb)); }
auto irq_handler() { return m_irq_handler.bind(); }
DECLARE_READ8_MEMBER( read );