summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sc61860/scops.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sc61860/scops.hxx')
-rw-r--r--src/devices/cpu/sc61860/scops.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/sc61860/scops.hxx b/src/devices/cpu/sc61860/scops.hxx
index 55c0d72d8ef..4ceec0df223 100644
--- a/src/devices/cpu/sc61860/scops.hxx
+++ b/src/devices/cpu/sc61860/scops.hxx
@@ -18,18 +18,18 @@
uint8_t sc61860_device::READ_OP()
{
- return m_direct->read_byte(m_pc++);
+ return m_cache->read_byte(m_pc++);
}
uint8_t sc61860_device::READ_OP_ARG()
{
- return m_direct->read_byte(m_pc++);
+ return m_cache->read_byte(m_pc++);
}
uint16_t sc61860_device::READ_OP_ARG_WORD()
{
- uint16_t t=m_direct->read_byte(m_pc++)<<8;
- t|=m_direct->read_byte(m_pc++);
+ uint16_t t=m_cache->read_byte(m_pc++)<<8;
+ t|=m_cache->read_byte(m_pc++);
return t;
}