summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/nes_apu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/nes_apu.h')
-rw-r--r--src/devices/sound/nes_apu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/sound/nes_apu.h b/src/devices/sound/nes_apu.h
index 1c1cc33460a..1a20e354331 100644
--- a/src/devices/sound/nes_apu.h
+++ b/src/devices/sound/nes_apu.h
@@ -54,6 +54,8 @@ public:
// configuration helpers
template <class Object> devcb_base &set_irq_handler(Object &&cb) { return m_irq_handler.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_mem_read_callback(Object &&cb) { return m_mem_read_cb.set_callback(std::forward<Object>(cb)); }
+ auto irq() { return m_irq_handler.bind(); }
+ auto mem_read() { return m_mem_read_cb.bind(); }
virtual void device_reset() override;
virtual void device_clock_changed() override;