pc check
This commit is contained in:
parent
764d0fe885
commit
06975aac07
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ namespace Dynemu {
|
|||
|
||||
thumb_mode = is_thumb;
|
||||
|
||||
if (return_mode && pc == 0xfffffffc) {
|
||||
if (return_mode && (pc >= 0xfffffffc || pc <= 0xffffffff)) {
|
||||
cpu->HaltExecution(Dynarmic::HaltReason::Step);
|
||||
ir.SetTerm(Dynarmic::IR::Term::CheckHalt{Dynarmic::IR::Term::ReturnToDispatch{}});
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue