mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
arm_dynarmic: Check if jit is nullptr when preparing reschedule
Prevents crash with multiprocess loading.
This commit is contained in:
parent
58c127c1d8
commit
0a624581b2
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue