mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 08:17:51 +00:00
CpuCore: Clear exclusive state after doing a run in dynarmic.
This commit corrects an error in which a Core could remain with an exclusive state after running, leaving space for possible race conditions between changing cores.
This commit is contained in:
parent
a13e5afa5a
commit
2624ac7ae8
2 changed files with 2 additions and 1 deletions
|
@ -96,6 +96,8 @@ void Cpu::RunLoop(bool tight_loop) {
|
|||
} else {
|
||||
arm_interface->Step();
|
||||
}
|
||||
// We are stopping a run, exclusive state must be cleared
|
||||
arm_interface->ClearExclusiveState();
|
||||
}
|
||||
core_timing.Advance();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue