summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z80/kc82.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/z80/kc82.cpp')
-rw-r--r--src/devices/cpu/z80/kc82.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/z80/kc82.cpp b/src/devices/cpu/z80/kc82.cpp
index 6dc575139de..fd09910429c 100644
--- a/src/devices/cpu/z80/kc82.cpp
+++ b/src/devices/cpu/z80/kc82.cpp
@@ -228,7 +228,7 @@ void kc82_device::data_write(u16 addr, u8 value)
u8 kc82_device::opcode_read()
{
- u32 pc = m_pc.w.l + m_mmu_base[m_pc.b.h >> 2];
+ u32 pc = m_pc.w + m_mmu_base[m_pc.b.h >> 2];
// no refresh
return m_opcodes.read_byte(pc);
}
@@ -240,6 +240,6 @@ u8 kc82_device::opcode_read()
u8 kc82_device::arg_read()
{
- u32 pc = m_pc.w.l + m_mmu_base[m_pc.b.h >> 2];
+ u32 pc = m_pc.w + m_mmu_base[m_pc.b.h >> 2];
return m_args.read_byte(pc);
}