mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Minor cleanup. Fix file handle leak when opening zip files from the main screen.
This commit is contained in:
1 parent
0dec3526a5
commit
605daf879b
5 files changed
+25
-8
No files matched your search
@@ -45,6 +45,7 @@ FileLoader *ConstructFileLoader(const Path &filename) {
|
||||
}
|
||||
|
||||
// TODO : improve, look in the file more
|
||||
// Does not take ownership.
|
||||
IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorString) {
|
||||
errorString->clear();
|
||||
if (fileLoader == nullptr) {
|
||||
|
||||
Reference in new issue
Block a user