summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/memexp/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/memexp/memory.cpp')
-rw-r--r--src/devices/bus/vtech/memexp/memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/vtech/memexp/memory.cpp b/src/devices/bus/vtech/memexp/memory.cpp
index 19330332bed..22bcc69b959 100644
--- a/src/devices/bus/vtech/memexp/memory.cpp
+++ b/src/devices/bus/vtech/memexp/memory.cpp
@@ -158,10 +158,10 @@ void vtech_laser_64k_device::device_reset()
membank(tag())->set_entry(1);
// bank switch
- io_space().install_write_handler(0x70, 0x7f, write8_delegate(*this, FUNC(vtech_laser_64k_device::bankswitch_w)));
+ io_space().install_write_handler(0x70, 0x7f, write8smo_delegate(*this, FUNC(vtech_laser_64k_device::bankswitch_w)));
}
-WRITE8_MEMBER( vtech_laser_64k_device::bankswitch_w )
+void vtech_laser_64k_device::bankswitch_w(uint8_t data)
{
membank(tag())->set_entry(data & 0x03);
}