summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/ioexp/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/ioexp/joystick.cpp')
-rw-r--r--src/devices/bus/vtech/ioexp/joystick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/vtech/ioexp/joystick.cpp b/src/devices/bus/vtech/ioexp/joystick.cpp
index 7570deca3b5..f8521538195 100644
--- a/src/devices/bus/vtech/ioexp/joystick.cpp
+++ b/src/devices/bus/vtech/ioexp/joystick.cpp
@@ -89,7 +89,7 @@ void vtech_joystick_interface_device::device_start()
void vtech_joystick_interface_device::device_reset()
{
- io_space().install_read_handler(0x20, 0x2f, read8_delegate(FUNC(vtech_joystick_interface_device::joystick_r), this));
+ io_space().install_read_handler(0x20, 0x2f, read8_delegate(*this, FUNC(vtech_joystick_interface_device::joystick_r)));
}