mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-01 09:21:34 +00:00
If __KernelLoadExec() fails, halt emulation.
Otherwise, we have no current thread, nothing can work.
This commit is contained in:
parent
f836517853
commit
2ab16f13b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user