diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index 13a1df05ea..0a8b89213a 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -203,6 +203,12 @@ namespace JitInterface bool HandleFault(uintptr_t access_address, SContext* ctx) { + // Prevent nullptr dereference on a crash with no JIT present + if (!jit) + { + return false; + } + return jit->HandleFault(access_address, ctx); }