summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k007232.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k007232.h')
-rw-r--r--src/devices/sound/k007232.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/devices/sound/k007232.h b/src/devices/sound/k007232.h
index f937641401c..e8034b19a0c 100644
--- a/src/devices/sound/k007232.h
+++ b/src/devices/sound/k007232.h
@@ -9,16 +9,11 @@
#pragma once
-#define MCFG_K007232_PORT_WRITE_HANDLER(_devcb) \
- downcast<k007232_device &>(*device).set_port_write_handler(DEVCB_##_devcb);
-
-
class k007232_device : public device_t, public device_sound_interface
{
public:
k007232_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- template <class Object> devcb_base &set_port_write_handler(Object &&cb) { return m_port_write_handler.set_callback(std::forward<Object>(cb)); }
auto port_write() { return m_port_write_handler.bind(); }
DECLARE_WRITE8_MEMBER( write );