mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-28 02:14:07 +00:00
arm_dyncom_interpreter: Clear exclusive memory state after SVC call
This commit is contained in:
parent
a4bed294fb
commit
b8c5007153
1 changed files with 2 additions and 0 deletions
|
@ -3866,6 +3866,8 @@ SWI_INST : {
|
|||
num_instrs >= cpu->NumInstrsToExecute ? 0 : cpu->NumInstrsToExecute - num_instrs;
|
||||
num_instrs = 0;
|
||||
Kernel::CallSVC(inst_cream->num & 0xFFFF);
|
||||
// The kernel would call ERET to get here, which clears exclusive memory state.
|
||||
cpu->UnsetExclusiveMemoryAddress();
|
||||
}
|
||||
|
||||
cpu->Reg[15] += cpu->GetInstructionSize();
|
||||
|
|
Loading…
Reference in a new issue