diff options
Diffstat (limited to 'src/devices/cpu/mb88xx/mb88xx.cpp')
-rw-r--r-- | src/devices/cpu/mb88xx/mb88xx.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/mb88xx/mb88xx.cpp b/src/devices/cpu/mb88xx/mb88xx.cpp index ce915c6d63b..1f1a84217bf 100644 --- a/src/devices/cpu/mb88xx/mb88xx.cpp +++ b/src/devices/cpu/mb88xx/mb88xx.cpp @@ -222,6 +222,7 @@ void mb88_cpu_device::device_start() state_add( MB88_SB, "SB", m_SB).formatstr("%01X"); state_add( STATE_GENPC, "GENPC", m_debugger_pc ).callimport().callexport().noshow(); + state_add( STATE_GENPCBASE, "CURPC", m_debugger_pc ).callimport().callexport().noshow(); state_add( STATE_GENFLAGS, "GENFLAGS", m_debugger_flags ).callimport().callexport().formatstr("%6s").noshow(); m_icountptr = &m_icount; } @@ -241,6 +242,7 @@ void mb88_cpu_device::state_import(const device_state_entry &entry) break; case STATE_GENPC: + case STATE_GENPCBASE: m_PC = m_debugger_pc & 0x3f; m_PA = ( m_debugger_pc >> 6 ) & 0x1f; break; @@ -263,6 +265,7 @@ void mb88_cpu_device::state_export(const device_state_entry &entry) break; case STATE_GENPC: + case STATE_GENPCBASE: m_debugger_pc = GETPC(); break; } |