Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR

This commit is contained in:
Henrik Rydgård
2020-07-12 15:25:20 +02:00
parent 087de849bd
commit efc3f4f5e4
14 changed files with 28 additions and 22 deletions
+1 -1
View File
@@ -1837,7 +1837,7 @@ int sceKernelLoadExec(const char *filename, u32 paramPtr)
std::string error_string;
if (!__KernelLoadExec(exec_filename.c_str(), paramPtr, &error_string)) {
ERROR_LOG(SCEMODULE, "sceKernelLoadExec failed: %s", error_string.c_str());
Core_UpdateState(CORE_ERROR);
Core_UpdateState(CORE_RUNTIME_ERROR);
return -1;
}
if (gpu) {