Merge pull request #3135 from MerryMage/d-ClearInstructionCache

arm_dynarmic: ClearInstructionCache should clear all instruction caches
This commit is contained in:
James Rowe 2017-11-19 16:39:04 -07:00 committed by GitHub
commit de0af83719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,9 @@ void ARM_Dynarmic::PrepareReschedule() {
} }
void ARM_Dynarmic::ClearInstructionCache() { void ARM_Dynarmic::ClearInstructionCache() {
jit->ClearCache(); for (const auto& j : jits) {
j.second->ClearCache();
}
} }
void ARM_Dynarmic::PageTableChanged() { void ARM_Dynarmic::PageTableChanged() {