mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 03:09:10 +02:00
If __KernelLoadExec() fails, halt emulation.
Otherwise, we have no current thread, nothing can work.
This commit is contained in:
1 parent
f836517853
commit
2ab16f13b1
1 file changed
+1
@@ -995,6 +995,7 @@ int sceKernelLoadExec(const char *filename, u32 paramPtr)
|
||||
std::string error_string;
|
||||
if (!__KernelLoadExec(filename, param, &error_string)) {
|
||||
ERROR_LOG(HLE, "sceKernelLoadExec failed: %s", error_string.c_str());
|
||||
Core_UpdateState(CORE_ERROR);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user