Firmware install: Change dialog layout, remove warning when not needed

This commit is contained in:
Henrik Rydgård committed 2026-09-10 15:52:53 -06:00
1 parent e4d940604e
commit d6c0a7bbde
3 files changed
+33 -18

No files matched your search

+4 -3
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2026- PPSSPP Project.
// Copyright (c) 2012- PPSSPP Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@
// a game disc, most of which carry one at PSP_GAME/SYSDIR/UPDATE/DATA.BIN. Running an updater
// isn't going to get anyone anywhere, but the firmware inside it is exactly what the emulated
// flash0/flash1 want, so offer to unpack it into the NAND directory instead.
class InstallUpdateScreen : public UISimpleBaseDialogScreen {
class InstallUpdateScreen : public UITwoPaneBaseDialogScreen {
public:
// title is the updater's SFO title, which already carries the version ("PSP Update ver 6.61").
// allowRun offers to boot the updater instead of unpacking it - which makes sense when the
@@ -47,7 +47,8 @@ public:
// "the file is the updater", which is the PBP case.
InstallUpdateScreen(const Path &path, std::string_view title, bool allowRun, u64 archiveSize = 0);
void CreateDialogViews(UI::ViewGroup *parent) override;
void CreateSettingsViews(UI::ViewGroup *parent) override;
void CreateContentViews(UI::ViewGroup *parent) override;
void update() override;
bool key(const KeyInput &key) override;