summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds75160a.h
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-08-23 18:34:05 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-08-23 18:34:21 +0200
commitf10c6be54ff10fe557388f4e1d7fe3b648782b21 (patch)
tree24c452f1943990bbb683220b4b71315a89e7926f /src/devices/machine/ds75160a.h
parent5d5a94e3d7bd1e7b4a3d66f68fb20fc4259480b5 (diff)
ds1315, ds1386, ds2404, ds75160a, ds75161a, eeprom, eepromser, eeprompar: Removed MCFG, nw
Diffstat (limited to 'src/devices/machine/ds75160a.h')
-rw-r--r--src/devices/machine/ds75160a.h6
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 );