daybreak: Add a setting to bypass the firmware version check

Let users turn off the Exosphere compatibility gate from the main menu when installing firmware newer than this Atmosphere build supports.
This commit is contained in:
Niklas080208 committed 2026-10-02 17:20:07 +02:00
1 parent 31d5beb756
commit ec9b500c67
4 files changed
+135 -5

No files matched your search

+19 -3
View File
@@ -133,11 +133,12 @@ namespace dbk {
class MainMenu : public Menu {
private:
static constexpr u32 InstallButtonId = 0;
static constexpr u32 ExitButtonId = 1;
static constexpr u32 InstallButtonId = 0;
static constexpr u32 SettingsButtonId = 1;
static constexpr u32 ExitButtonId = 2;
static constexpr float WindowWidth = 400.0f;
static constexpr float WindowHeight = 240.0f;
static constexpr float WindowHeight = 310.0f;
static constexpr float TitleGap = 90.0f;
public:
MainMenu();
@@ -146,6 +147,21 @@ namespace dbk {
virtual void Draw(NVGcontext *vg, u64 ns) override;
};
class SettingsMenu : public Menu {
private:
static constexpr u32 VersionCheckButtonId = 0;
static constexpr u32 BackButtonId = 1;
static constexpr float WindowWidth = 560.0f;
static constexpr float WindowHeight = 300.0f;
static constexpr float TitleGap = 90.0f;
public:
SettingsMenu(std::shared_ptr<Menu> prev_menu);
virtual void Update(u64 ns) override;
virtual void Draw(NVGcontext *vg, u64 ns) override;
};
class FileMenu : public Menu {
private:
struct FileEntry {