arm_dynarmic: Check if jit is nullptr when preparing reschedule

Prevents crash with multiprocess loading.
master
Zach Hilman 2019-06-10 00:14:25 +07:00
parent 364932df3a
commit 425cdf946c
1 changed files with 3 additions and 0 deletions

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