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:
Fernando Sahmkow authored and FernandoS27 committed 2019-12-05 18:08:59 -04:00
1 parent 2f79cc3ef5
commit 40cd4df584
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -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();