mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 02:55:31 +00:00
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:
parent
e67630b51e
commit
fcc5155601
|
@ -243,10 +243,8 @@ 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() {
|
||||||
jit->ClearCache();
|
jit->ClearCache();
|
||||||
|
|
Loading…
Reference in a new issue