diff options
author | 2019-02-28 14:59:40 +0100 | |
---|---|---|
committer | 2019-02-28 14:59:40 +0100 | |
commit | 7c1999d4edbc9205dcf8cc3e64a790fbeef4ef63 (patch) | |
tree | ed26bfe3702fb7f6ab7a3968e1533c038f0452c1 /src/devices/machine/ldv1000.h | |
parent | d3368ea66e71824d1891f15c11529b4a6e9a4667 (diff) |
mame\drivers: removed most MCFG and MACHINE_CONFIG_MACROS (nw)
Diffstat (limited to 'src/devices/machine/ldv1000.h')
-rw-r--r-- | src/devices/machine/ldv1000.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/machine/ldv1000.h b/src/devices/machine/ldv1000.h index 661d0a44f0b..55516da36fe 100644 --- a/src/devices/machine/ldv1000.h +++ b/src/devices/machine/ldv1000.h @@ -26,10 +26,6 @@ #define MCFG_LASERDISC_LDV1000_ADD(_tag) \ MCFG_DEVICE_ADD(_tag, PIONEER_LDV1000, 0) -#define MCFG_LASERDISC_LDV1000_COMMAND_STROBE_CB(_cb) \ - downcast<pioneer_ldv1000_device *>(device)->set_command_strobe_callback(DEVCB_##_cb); - - //************************************************************************** // GLOBAL VARIABLES @@ -53,7 +49,7 @@ public: // construction/destruction pioneer_ldv1000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - template <class cmd_strobe_cb> devcb_base &set_command_strobe_callback(cmd_strobe_cb &&latch) { return m_command_strobe_cb.set_callback(std::forward<cmd_strobe_cb>(latch)); } + auto command_strobe_callback() { return m_command_strobe_cb.bind(); } // input and output void data_w(uint8_t data); |