2
0
Fork 0
mirror of https://github.com/yuzu-mirror/yuzu synced 2024-12-26 15:03:04 +00:00

arm_dynarmic: Check if jit is nullptr when preparing reschedule

Prevents crash with multiprocess loading.
This commit is contained in:
Zach Hilman 2019-06-10 00:14:25 -04:00
parent 364932df3a
commit 425cdf946c

View file

@ -257,6 +257,9 @@ void ARM_Dynarmic::LoadContext(const ThreadContext& ctx) {
} }
void ARM_Dynarmic::PrepareReschedule() { void ARM_Dynarmic::PrepareReschedule() {
if (jit == nullptr)
return;
jit->HaltExecution(); jit->HaltExecution();
} }