summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/esrip/esrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/esrip/esrip.cpp')
-rw-r--r--src/devices/cpu/esrip/esrip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/esrip/esrip.cpp b/src/devices/cpu/esrip/esrip.cpp
index 5fa6788d24b..931b5866308 100644
--- a/src/devices/cpu/esrip/esrip.cpp
+++ b/src/devices/cpu/esrip/esrip.cpp
@@ -192,8 +192,8 @@ void esrip_device::device_start()
/* Allocate image pointer table RAM */
m_ipt_ram.resize(IPT_RAM_SIZE/2);
- m_program = &space(AS_PROGRAM);
- m_cache = m_program->cache<3, -3, ENDIANNESS_BIG>();
+ space(AS_PROGRAM).cache(m_cache);
+ space(AS_PROGRAM).specific(m_program);
// register our state for the debugger
state_add(STATE_GENPC, "GENPC", m_rip_pc).noshow();
@@ -1880,7 +1880,7 @@ void esrip_device::execute_run()
m_pl7 = m_l7;
/* Latch instruction */
- inst = m_cache->read_qword(RIP_PC);
+ inst = m_cache.read_qword(RIP_PC);
in_h = inst >> 32;
in_l = inst & 0xffffffff;