summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/st0016.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/st0016.h')
-rw-r--r--src/devices/sound/st0016.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/sound/st0016.h b/src/devices/sound/st0016.h
index 54da6678020..9de0065538b 100644
--- a/src/devices/sound/st0016.h
+++ b/src/devices/sound/st0016.h
@@ -7,13 +7,6 @@
//**************************************************************************
-// INTERFACE CONFIGURATION MACROS
-//**************************************************************************
-
-#define MCFG_ST0016_SOUNDRAM_READ_CB(_devcb) \
- downcast<st0016_device &>(*device).set_soundram_callback(DEVCB_##_devcb);
-
-//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -24,7 +17,7 @@ class st0016_device : public device_t, public device_sound_interface
public:
st0016_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- template <class Object> devcb_base &set_soundram_callback(Object &&cb) { return m_ram_read_cb.set_callback(std::forward<Object>(cb)); }
+ auto ram_read() { return m_ram_read_cb.bind(); }
DECLARE_READ8_MEMBER( st0016_snd_r );
DECLARE_WRITE8_MEMBER( st0016_snd_w );