Don't offer to play EBOOT.PBP from zip files directly - we don't actually support it yet.

This commit is contained in:
Henrik Rydgård committed 2025-06-05 11:38:09 +02:00
1 parent b422aecb49
commit aac23e2e51
1 file changed
+6 -2
+6 -2
View File
@@ -102,8 +102,12 @@ void InstallZipScreen::CreateViews() {
installChoice_ = rightColumnItems->Add(new Choice(iz->T("Install")));
installChoice_->OnClick.Handle(this, &InstallZipScreen::OnInstall);
playChoice_ = rightColumnItems->Add(new Choice(ga->T("Play")));
playChoice_->OnClick.Handle(this, &InstallZipScreen::OnPlay);
// NOTE: We detect PBP isos (like demos) as game dirs currently. Can't play them directly.
if (zipFileInfo_.contents == ZipFileContents::ISO_FILE) {
playChoice_ = rightColumnItems->Add(new Choice(ga->T("Play")));
playChoice_->OnClick.Handle(this, &InstallZipScreen::OnPlay);
}
returnToHomebrew_ = true;
showDeleteCheckbox = true;