mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Fix crashes / bad errors when loading a file fails.
This commit is contained in:
1 parent
3601723860
commit
3cd391c3e2
3 files changed
+9
-5
No files matched your search
@@ -124,6 +124,7 @@ bool LoadFile(const char *filename, std::string *error_string)
|
||||
case FILETYPE_UNKNOWN:
|
||||
default:
|
||||
ERROR_LOG(LOADER, "Failed to identify file");
|
||||
*error_string = "Failed to identify file";
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user