summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/k007232.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/k007232.h')
-rw-r--r--src/emu/sound/k007232.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/k007232.h b/src/emu/sound/k007232.h
index 17490780d80..6da2790a24b 100644
--- a/src/emu/sound/k007232.h
+++ b/src/emu/sound/k007232.h
@@ -12,14 +12,14 @@
#define MCFG_K007232_PORT_WRITE_HANDLER(_devcb) \
devcb = &k007232_device::set_port_write_handler(*device, DEVCB2_##_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 clock);
~k007232_device() {}
-
+
template<class _Object> static devcb2_base &set_port_write_handler(device_t &device, _Object object) { return downcast<k007232_device &>(device).m_port_write_handler.set_callback(object); }
DECLARE_WRITE8_MEMBER( write );