summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/brunword4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/brunword4.cpp')
-rw-r--r--src/devices/bus/cpc/brunword4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/cpc/brunword4.cpp b/src/devices/bus/cpc/brunword4.cpp
index db5e8e1b57d..c28433b281a 100644
--- a/src/devices/bus/cpc/brunword4.cpp
+++ b/src/devices/bus/cpc/brunword4.cpp
@@ -74,7 +74,7 @@ void cpc_brunword4_device::device_start()
{
m_slot = dynamic_cast<cpc_expansion_slot_device *>(owner());
address_space &space = m_slot->cpu().space(AS_IO);
- space.install_write_handler(0xdf00,0xdfff,write8_delegate(FUNC(cpc_brunword4_device::rombank_w),this));
+ space.install_write_handler(0xdf00,0xdfff, write8smo_delegate(*this, FUNC(cpc_brunword4_device::rombank_w)));
}
void cpc_brunword4_device::device_reset()
@@ -82,7 +82,7 @@ void cpc_brunword4_device::device_reset()
m_rombank_active = false;
}
-WRITE8_MEMBER(cpc_brunword4_device::rombank_w)
+void cpc_brunword4_device::rombank_w(uint8_t data)
{
if((data & 0xc0) == 0xc0 && (data & 0x04) == 0)
{
@@ -95,7 +95,7 @@ WRITE8_MEMBER(cpc_brunword4_device::rombank_w)
m_rombank_active = false;
return;
}
- m_slot->rom_select(space,0,data & 0x3f); // repeats every 64 ROMs, this breaks upper cart ROM selection on the Plus
+ m_slot->rom_select(data & 0x3f); // repeats every 64 ROMs, this breaks upper cart ROM selection on the Plus
}
void cpc_brunword4_device::set_mapping(uint8_t type)