summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-11-11 08:34:55 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-11-11 08:34:55 -0500
commit82e9ccb3a9ea067615c24d3fe1979a3676bb6746 (patch)
tree0ea6fce38a82f2e6ab7107638eeaa94de9f2611c /src/devices
parentdfa8f49adcbbc9827adb11e301d4f5ccef99e62d (diff)
f8: Use memory_access_cache for register space access (nw)
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;