mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 10:12:49 +00:00
arm_dynarmic: Check if jit is nullptr when preparing reschedule
Prevents crash with multiprocess loading.
This commit is contained in:
parent
364932df3a
commit
425cdf946c
|
@ -257,6 +257,9 @@ void ARM_Dynarmic::LoadContext(const ThreadContext& ctx) {
|
|||
}
|
||||
|
||||
void ARM_Dynarmic::PrepareReschedule() {
|
||||
if (jit == nullptr)
|
||||
return;
|
||||
|
||||
jit->HaltExecution();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue