mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +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
@@ -356,8 +356,10 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
std::string errorString;
|
||||
|
||||
info_->working = true;
|
||||
info_->fileType = Identify_File(info_->GetFileLoader().get());
|
||||
info_->fileType = Identify_File(info_->GetFileLoader().get(), &errorString);
|
||||
switch (info_->fileType) {
|
||||
case IdentifiedFileType::PSP_PBP:
|
||||
case IdentifiedFileType::PSP_PBP_DIRECTORY:
|
||||
|
||||
Reference in new issue
Block a user