From 8ee5ba3e8fb95ddf114f45bded2f27b248d27fa7 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 3 Apr 2016 15:04:08 +0100 Subject: [PATCH] ARM_Jit: ClearCache upon construct --- src/core/arm/jit_x64/interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/arm/jit_x64/interface.cpp b/src/core/arm/jit_x64/interface.cpp index 8723ae3d1..e6685d197 100644 --- a/src/core/arm/jit_x64/interface.cpp +++ b/src/core/arm/jit_x64/interface.cpp @@ -95,6 +95,7 @@ static JitX64 compiler { &block_of_code }; ARM_Jit::ARM_Jit(PrivilegeMode initial_mode) { ASSERT_MSG(initial_mode == PrivilegeMode::USER32MODE, "Unimplemented"); state = Common::make_unique(); + ClearCache(); } ARM_Jit::~ARM_Jit() {