ARM_Jit: ClearCache upon construct

This commit is contained in:
MerryMage 2016-04-03 15:04:08 +01:00
parent a5e3874db8
commit 8ee5ba3e8f

View File

@ -95,6 +95,7 @@ static JitX64 compiler { &block_of_code };
ARM_Jit::ARM_Jit(PrivilegeMode initial_mode) { ARM_Jit::ARM_Jit(PrivilegeMode initial_mode) {
ASSERT_MSG(initial_mode == PrivilegeMode::USER32MODE, "Unimplemented"); ASSERT_MSG(initial_mode == PrivilegeMode::USER32MODE, "Unimplemented");
state = Common::make_unique<JitState>(); state = Common::make_unique<JitState>();
ClearCache();
} }
ARM_Jit::~ARM_Jit() { ARM_Jit::~ARM_Jit() {