summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/f8/f8.cpp2
-rw-r--r--src/devices/cpu/f8/f8.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/f8/f8.cpp b/src/devices/cpu/f8/f8.cpp
index f54611b0683..6f6ea70512c 100644
--- a/src/devices/cpu/f8/f8.cpp
+++ b/src/devices/cpu/f8/f8.cpp
@@ -110,7 +110,7 @@ void f8_cpu_device::device_start()
{
m_program = &space(AS_PROGRAM);
m_cache = m_program->cache<0, 0, ENDIANNESS_BIG>();
- m_r = &space(AS_DATA);
+ m_r = space(AS_DATA).cache<0, 0, ENDIANNESS_BIG>();
m_iospace = &space(AS_IO);
// zerofill
diff --git a/src/devices/cpu/f8/f8.h b/src/devices/cpu/f8/f8.h
index a30464146b6..e8851da127e 100644
--- a/src/devices/cpu/f8/f8.h
+++ b/src/devices/cpu/f8/f8.h
@@ -68,7 +68,7 @@ private:
u16 m_irq_vector;
address_space *m_program;
memory_access_cache<0, 0, ENDIANNESS_BIG> *m_cache;
- address_space *m_r;
+ memory_access_cache<0, 0, ENDIANNESS_BIG> *m_r;
address_space *m_iospace;
int m_icount;
int m_irq_request;