diff options
Diffstat (limited to 'src/mame/audio/tvc.h')
-rw-r--r-- | src/mame/audio/tvc.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/audio/tvc.h b/src/mame/audio/tvc.h index 4555598bca7..b8699ea0ecd 100644 --- a/src/mame/audio/tvc.h +++ b/src/mame/audio/tvc.h @@ -11,8 +11,6 @@ #pragma once -#define MCFG_TVC_SOUND_SNDINT_CALLBACK(_write) \ - downcast<tvc_sound_device &>(*device).set_sndint_wr_callback(DEVCB_##_write); //************************************************************************** // TYPE DEFINITIONS @@ -26,7 +24,7 @@ public: // construction/destruction tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - template <class Object> devcb_base &set_sndint_wr_callback(Object &&cb) { return m_write_sndint.set_callback(std::forward<Object>(cb)); } + auto sndint_wr_callback() { return m_write_sndint.bind(); } DECLARE_WRITE8_MEMBER(write); void reset_divider(); |