mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Propagate errors from file identification upwards better.
This commit is contained in:
1 parent
af3ad2ca03
commit
43ba908225
8 files changed
+58
-30
No files matched your search
+2
-1
@@ -74,7 +74,8 @@ bool LaunchFile(ScreenManager *screenManager, const Path &path) {
|
||||
return false;
|
||||
}
|
||||
|
||||
IdentifiedFileType type = Identify_File(loader);
|
||||
std::string errorString;
|
||||
IdentifiedFileType type = Identify_File(loader, &errorString);
|
||||
delete loader;
|
||||
|
||||
switch (type) {
|
||||
|
||||
Reference in new issue
Block a user