diff options
Diffstat (limited to 'qtmips_machine/core.cpp')
-rw-r--r-- | qtmips_machine/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp index 22dfdc8..351ffb0 100644 --- a/qtmips_machine/core.cpp +++ b/qtmips_machine/core.cpp @@ -141,7 +141,7 @@ bool Core::handle_exception(Core *core, Registers *regs, ExceptionCause excause, if (cop0state->read_cop0reg(Cop0State::EBase) != 0) { if (excause == EXCAUSE_INT) { cop0state->set_status_exl(true); - regs->pc_abs_jmp(cop0state->read_cop0reg(Cop0State::EBase)); + regs->pc_abs_jmp(cop0state->exception_pc_address()); } } } |