mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
CPU_Init: Bail out earlier if we fail to identify a file.
This commit is contained in:
1 parent
f690cb99a4
commit
e93427c433
3 files changed
+11
-4
No files matched your search
+2
-2
@@ -289,8 +289,8 @@ bool CPU_Init(std::string *errorString, FileLoader *loadedFile) {
|
||||
break;
|
||||
default:
|
||||
// Can we even get here?
|
||||
WARN_LOG(Log::Loader, "CPU_Init didn't recognize file. %s", errorString->c_str());
|
||||
break;
|
||||
ERROR_LOG(Log::Loader, "CPU_Init didn't recognize file. %s", errorString->c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
// Here we have read the PARAM.SFO, let's see if we need any compatibility overrides.
|
||||
|
||||
Reference in new issue
Block a user