summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/pcmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/pcmidi.cpp')
-rw-r--r--src/devices/bus/isa/pcmidi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/isa/pcmidi.cpp b/src/devices/bus/isa/pcmidi.cpp
index 94e52ae8f51..45cc41ff4f4 100644
--- a/src/devices/bus/isa/pcmidi.cpp
+++ b/src/devices/bus/isa/pcmidi.cpp
@@ -100,8 +100,8 @@ void isa8_pcmidi_device::device_reset()
{
offs_t ioaddr = BIT(m_config->read(), 0) ? 0x300 : 0x330;
m_isa->install_device(ioaddr, ioaddr + 1,
- read8sm_delegate(FUNC(isa8_pcmidi_device::host_r), this),
- write8sm_delegate(FUNC(isa8_pcmidi_device::host_w), this));
+ read8sm_delegate(*this, FUNC(isa8_pcmidi_device::host_r)),
+ write8sm_delegate(*this, FUNC(isa8_pcmidi_device::host_w)));
set_host_irq(false);
}