summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/8x300/8x300.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/8x300/8x300.cpp')
-rw-r--r--src/devices/cpu/8x300/8x300.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/8x300/8x300.cpp b/src/devices/cpu/8x300/8x300.cpp
index 761ad4310e4..130df2dd7e3 100644
--- a/src/devices/cpu/8x300/8x300.cpp
+++ b/src/devices/cpu/8x300/8x300.cpp
@@ -14,7 +14,7 @@
#include "8x300dasm.h"
#include "debugger.h"
-#define FETCHOP(a) (m_direct->read_word(a))
+#define FETCHOP(a) (m_cache->read_word(a))
#define CYCLES(x) do { m_icount -= (x); } while (0)
#define READPORT(a) (m_io->read_byte(a))
#define WRITEPORT(a,v) (m_io->write_byte((a), (v)))
@@ -97,7 +97,7 @@ uint8_t n8x300_cpu_device::get_reg(uint8_t reg)
void n8x300_cpu_device::device_start()
{
m_program = &space(AS_PROGRAM);
- m_direct = m_program->direct<0>();
+ m_cache = m_program->cache<1, 0, ENDIANNESS_BIG>();
m_io = &space(AS_IO);
save_item(NAME(m_PC));