summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/es5506.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/es5506.h')
-rw-r--r--src/devices/sound/es5506.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/sound/es5506.h b/src/devices/sound/es5506.h
index 9022042f33d..0d4e6128576 100644
--- a/src/devices/sound/es5506.h
+++ b/src/devices/sound/es5506.h
@@ -63,6 +63,9 @@ public:
template <class Object> devcb_base &set_irq_callback(Object &&cb) { return m_irq_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_read_port_callback(Object &&cb) { return m_read_port_cb.set_callback(std::forward<Object>(cb)); }
+ auto irq_cb() { return m_irq_cb.bind(); }
+ auto read_port_cb() { return m_read_port_cb.bind(); }
+
protected:
// struct describing a single playing voice
struct es550x_voice