1
0
Fork 0
forked from suyu/suyu

Merge pull request #2574 from DarkLordZach/dynarmic-jit-nullptr

arm_dynarmic: Check if jit is nullptr when preparing reschedule
This commit is contained in:
bunnei 2019-09-29 21:44:10 -04:00 committed by GitHub
commit 28538bba9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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