From 53755c526a9e9b7d4bbfb9239f18d7dd3e69638a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Fri, 2 Jan 2026 12:00:56 -0500 Subject: [PATCH] Fix compilation error in UI/InstallZipScreen.cpp in standalone builds --- UI/InstallZipScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/InstallZipScreen.cpp b/UI/InstallZipScreen.cpp index f39cc88bb9..1330eec76c 100644 --- a/UI/InstallZipScreen.cpp +++ b/UI/InstallZipScreen.cpp @@ -35,7 +35,7 @@ InstallZipScreen::InstallZipScreen(const Path &zipPath) : UITwoPaneBaseDialogScreen(Path(), TwoPaneFlags::SettingsToTheRight | TwoPaneFlags::ContentsCanScroll), zipPath_(zipPath) { g_GameManager.ResetInstallError(); - struct zip *zipFile = ZipOpenPath(zipPath_); + ZipContainer zipFile = ZipOpenPath(zipPath_); if (zipFile) { DetectZipFileContents(zipFile, &zipFileInfo_); // Even if this fails, it sets zipInfo->contents. ZipClose(zipFile); @@ -177,7 +177,7 @@ void InstallZipScreen::CreateContentViews(UI::ViewGroup *parent) { leftColumn->Add(new TextView(zipFileInfo_.gameTitle + ": " + zipFileInfo_.savedataDir)); Path savedataDir = GetSysDirectory(DIRECTORY_SAVEDATA); - struct zip *zipFile = ZipOpenPath(zipPath_); + ZipContainer zipFile = ZipOpenPath(zipPath_); bool overwrite = !CanExtractWithoutOverwrite(zipFile, savedataDir, 50); ZipClose(zipFile);