summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/z88/flash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/z88/flash.cpp')
-rw-r--r--src/devices/bus/z88/flash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/z88/flash.cpp b/src/devices/bus/z88/flash.cpp
index ee92f351ec7..1fb8f9b6420 100644
--- a/src/devices/bus/z88/flash.cpp
+++ b/src/devices/bus/z88/flash.cpp
@@ -73,7 +73,7 @@ uint8_t* z88_1024k_flash_device::get_cart_base()
READ8_MEMBER(z88_1024k_flash_device::read)
{
- return m_flash->read(offset & (get_cart_size() - 1));
+ return m_flash->read(space, offset & (get_cart_size() - 1));
}
/*-------------------------------------------------
@@ -82,5 +82,5 @@ READ8_MEMBER(z88_1024k_flash_device::read)
WRITE8_MEMBER(z88_1024k_flash_device::write)
{
- m_flash->write(offset & (get_cart_size() - 1), data);
+ m_flash->write(space, offset & (get_cart_size() - 1), data);
}