From 2d917f8ca0c3512af2c25dd95e481f96b578b356 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 19 Nov 2017 14:45:35 +0000 Subject: [PATCH] arm_dynarmic: ClearInstructionCache should clear all instruction caches Bugfix of 67a70bd. --- src/core/arm/dynarmic/arm_dynarmic.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 2cb56d12fc..0a6d5c260c 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -168,7 +168,9 @@ void ARM_Dynarmic::PrepareReschedule() { } void ARM_Dynarmic::ClearInstructionCache() { - jit->ClearCache(); + for (const auto& j : jits) { + j.second->ClearCache(); + } } void ARM_Dynarmic::PageTableChanged() {