1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-03 18:06:32 -05:00

scheduler: Clear exclusive state when switching contexts

This commit is contained in:
MerryMage
2018-07-16 11:24:00 +01:00
parent f00ca69a81
commit 56cc1c11ec
6 changed files with 11 additions and 0 deletions

View File

@@ -226,6 +226,10 @@ void ARM_Dynarmic::ClearInstructionCache() {
jit->ClearCache();
}
void ARM_Dynarmic::ClearExclusiveState() {
jit->ClearExclusiveState();
}
void ARM_Dynarmic::PageTableChanged() {
jit = MakeJit(cb);
current_page_table = Memory::GetCurrentPageTable();

View File

@@ -39,6 +39,7 @@ public:
void LoadContext(const ThreadContext& ctx) override;
void PrepareReschedule() override;
void ClearExclusiveState() override;
void ClearInstructionCache() override;
void PageTableChanged() override;