diff options
Diffstat (limited to 'src/devices/machine/ds75160a.h')
-rw-r--r-- | src/devices/machine/ds75160a.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/devices/machine/ds75160a.h b/src/devices/machine/ds75160a.h index 85ee2727809..2f2a2147a5e 100644 --- a/src/devices/machine/ds75160a.h +++ b/src/devices/machine/ds75160a.h @@ -49,10 +49,8 @@ public: // construction/destruction ds75160a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - template <class Read, class Write> void set_callbacks(Read &&rd, Write &&wr) { - m_read.set_callback(std::forward<Read>(rd)); - m_write.set_callback(std::forward<Write>(wr)); - } + auto read_callback() { return m_read.bind(); } + auto write_callback() { return m_write.bind(); } DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); |