summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/ide64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/ide64.cpp')
-rw-r--r--src/devices/bus/c64/ide64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/c64/ide64.cpp b/src/devices/bus/c64/ide64.cpp
index 70bc3726984..e85048cc318 100644
--- a/src/devices/bus/c64/ide64.cpp
+++ b/src/devices/bus/c64/ide64.cpp
@@ -224,7 +224,7 @@ uint8_t c64_ide64_cartridge_device::c64_cd_r(address_space &space, offs_t offset
{
offs_t addr = (m_bank << 14) | (offset & 0x3fff);
- data = m_flash_rom->read(addr);
+ data = m_flash_rom->read(space, addr);
}
else if (!ram_oe)
{
@@ -258,7 +258,7 @@ void c64_ide64_cartridge_device::c64_cd_w(address_space &space, offs_t offset, u
if ((offset >= 0x8000 && offset < 0xc000) && !m_wp)
{
offs_t addr = (m_bank << 14) | (offset & 0x3fff);
- m_flash_rom->write(addr, data);
+ m_flash_rom->write(space, addr, data);
}
if (!io1)