Add a safety check in DetectZipFileContents

This commit is contained in:
Henrik Rydgård committed 2026-02-10 15:50:39 +01:00
1 parent b43a86a9f3
commit e2b99fc921
3 files changed
+9

No files matched your search

+2
View File
@@ -238,6 +238,8 @@ void InstallZipScreen::CreateContentViews(UI::ViewGroup *parent) {
break;
}
case ZipFileContents::FRAME_DUMP:
// Re-use an almost correct string, not worth it to add a new one
leftColumn->Add(new TextView(di->T("GE Frame Dumps")));
leftColumn->Add(new TextView(zipFileInfo_.contentName));
// It's a frame dump, add a play button!
break;