summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cat702.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cat702.h')
-rw-r--r--src/mame/machine/cat702.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/machine/cat702.h b/src/mame/machine/cat702.h
index 4d25407e4a6..997c55bf241 100644
--- a/src/mame/machine/cat702.h
+++ b/src/mame/machine/cat702.h
@@ -10,16 +10,13 @@
DECLARE_DEVICE_TYPE(CAT702, cat702_device)
-#define MCFG_CAT702_DATAOUT_HANDLER(_devcb) \
- downcast<cat702_device &>(*device).set_dataout_handler(DEVCB_##_devcb);
-
class cat702_device : public device_t
{
public:
cat702_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// configuration helpers
- template <class Object> devcb_base &set_dataout_handler(Object &&cb) { return m_dataout_handler.set_callback(std::forward<Object>(cb)); }
+ auto dataout_handler() { return m_dataout_handler.bind(); }
DECLARE_WRITE_LINE_MEMBER(write_select);
DECLARE_WRITE_LINE_MEMBER(write_datain);