arm_dynarmic: Remove IsExecuting check from PrepareReschedule

No longer required. HaltExecution is a no-op if it is not currently executing.
This commit is contained in:
MerryMage 2018-08-13 13:59:01 +01:00
parent e67630b51e
commit fcc5155601
1 changed files with 1 additions and 3 deletions

View File

@ -243,9 +243,7 @@ void ARM_Dynarmic::LoadContext(const ThreadContext& ctx) {
} }
void ARM_Dynarmic::PrepareReschedule() { void ARM_Dynarmic::PrepareReschedule() {
if (jit->IsExecuting()) { jit->HaltExecution();
jit->HaltExecution();
}
} }
void ARM_Dynarmic::ClearInstructionCache() { void ARM_Dynarmic::ClearInstructionCache() {