summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/tms5110.h
diff options
context:
space:
mode:
authorGravatarGravatar mooglyguy <therealmogminer@gmail.com>2018-12-07 11:32:05 +0100
committerGravatarGravatar mooglyguy <therealmogminer@gmail.com>2018-12-07 11:32:05 +0100
commit2032792ba3ab89e9b8bfbd718a134ac278eb15b9 (patch)
tree00c595e59db51993ee078174dd5a14419c7c4c7d /src/devices/sound/tms5110.h
parentb6e950613701d3a64c6f88002bb08cd6effc6234 (diff)
-tms1xxx: Removed MCFG macros.
-eva.cpp: Refactored into subclasses. nw
Diffstat (limited to 'src/devices/sound/tms5110.h')
-rw-r--r--src/devices/sound/tms5110.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index b4a5a48d68d..4857326b697 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -56,6 +56,11 @@ public:
template <class Object> devcb_base &set_addr_callback(Object &&cb) { return m_addr_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_data_callback(Object &&cb) { return m_data_cb.set_callback(std::forward<Object>(cb)); }
template <class Object> devcb_base &set_romclk_callback(Object &&cb) { return m_romclk_cb.set_callback(std::forward<Object>(cb)); }
+ auto m0() { return m_m0_cb.bind(); }
+ auto m1() { return m_m1_cb.bind(); }
+ auto addr() { return m_addr_cb.bind(); }
+ auto data() { return m_data_cb.bind(); }
+ auto romclk() { return m_romclk_cb.bind(); }
DECLARE_WRITE8_MEMBER( ctl_w );
DECLARE_READ8_MEMBER( ctl_r );