summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/midwayic.h
diff options
context:
space:
mode:
author Ted Green <tedgreen99@protonmail.com>2018-09-03 12:11:45 -0600
committer Ted Green <tedgreen99@protonmail.com>2018-09-03 12:23:53 -0600
commit2673bd6e1673ba55d7db51a6508237c1416c9cd4 (patch)
treecb87e368a5f48f9062277e1b62fd22892037876e /src/mame/machine/midwayic.h
parentf9676d8f1d40d31513bee602fb531443093bd2c3 (diff)
MCFG removal (nw).
Diffstat (limited to 'src/mame/machine/midwayic.h')
-rw-r--r--src/mame/machine/midwayic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/machine/midwayic.h b/src/mame/machine/midwayic.h
index 8d764d34999..ee9362e15ea 100644
--- a/src/mame/machine/midwayic.h
+++ b/src/mame/machine/midwayic.h
@@ -161,6 +161,9 @@ public:
template <class Object> devcb_base &set_irqhandler_callback(Object &&cb) { return m_irq_callback.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_serial_tx_callback(Object &&cb) { return m_serial_tx_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_aux_output_callback(Object &&cb) { return m_aux_output_cb.set_callback(std::forward<Object>(cb)); }
+ auto irq_handler() { return m_irq_callback.bind(); }
+ auto serial_tx_handler() { return m_serial_tx_cb.bind(); }
+ auto aux_output_handler() { return m_aux_output_cb.bind(); }
void set_shuffle_state(int state);
void fifo_w(uint16_t data);