summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/upd934g.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/upd934g.h')
-rw-r--r--src/devices/sound/upd934g.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/devices/sound/upd934g.h b/src/devices/sound/upd934g.h
index 1d94c317957..d2ecf716d98 100644
--- a/src/devices/sound/upd934g.h
+++ b/src/devices/sound/upd934g.h
@@ -15,14 +15,6 @@
//**************************************************************************
-// INTERFACE CONFIGURATION MACROS
-//**************************************************************************
-
-#define MCFG_UPD934G_DATA_CB(_devcb) \
- downcast<upd934g_device &>(*device).set_data_callback(DEVCB_##_devcb);
-
-
-//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -35,7 +27,7 @@ public:
upd934g_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// configuration
- template <class Object> devcb_base &set_data_callback(Object &&cb) { return m_data_cb.set_callback(std::forward<Object>(cb)); }
+ auto data_callback() { return m_data_cb.bind(); }
DECLARE_WRITE8_MEMBER(write);