mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Build fixes, crashfix on fail-to-open
This commit is contained in:
1 parent
288b72cb16
commit
99d5bcc26d
6 files changed
+142
-12
No files matched your search
@@ -45,8 +45,10 @@ InstallZipScreen::InstallZipScreen(const Path &zipPath) : UITwoPaneBaseDialogScr
|
||||
|
||||
if (zipPath.GetFileExtension() == ".7z") {
|
||||
SevenZipFileReader *sevenZipFile = SevenZipFileReader::Create(zipPath, "");
|
||||
DetectArchiveContents(sevenZipFile, &zipFileInfo_); // Even if this fails, it sets zipInfo->contents.
|
||||
delete sevenZipFile;
|
||||
if (sevenZipFile) {
|
||||
DetectArchiveContents(sevenZipFile, &zipFileInfo_); // Even if this fails, it sets zipInfo->contents.
|
||||
delete sevenZipFile;
|
||||
}
|
||||
} else {
|
||||
ZipContainer zipFile = ZipOpenPath(zipPath_);
|
||||
if (zipFile) {
|
||||
|
||||
Reference in new issue
Block a user