mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-28 06:23:37 +08:00
arm_dynarmic: Check if jit is nullptr when preparing reschedule
Prevents crash with multiprocess loading.
This commit is contained in:
@@ -257,6 +257,9 @@ void ARM_Dynarmic::LoadContext(const ThreadContext& ctx) {
|
||||
}
|
||||
|
||||
void ARM_Dynarmic::PrepareReschedule() {
|
||||
if (jit == nullptr)
|
||||
return;
|
||||
|
||||
jit->HaltExecution();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user