daybreak: Add firmware compatibility gate and German UI

Block unsupported firmware updates via a dedicated dialog using
Exosphere's maximum supported HOS version, and translate the Daybreak
interface to German.
This commit is contained in:
2026-05-17 12:59:14 +02:00
parent 2c7e2bfaae
commit 5cb085b00c
3 changed files with 166 additions and 72 deletions

View File

@@ -120,6 +120,17 @@ namespace dbk {
virtual void Update(u64 ns) override;
};
class FirmwareNotSupportedMenu : public AlertMenu {
private:
static constexpr u32 BackButtonId = 0;
static constexpr float SubTextAreaHeight = 72.0f;
public:
FirmwareNotSupportedMenu(std::shared_ptr<Menu> prev_menu, u32 update_ncm_version, u32 max_supported_hos_version);
virtual void Update(u64 ns) override;
virtual void Draw(NVGcontext *vg, u64 ns) override;
};
class MainMenu : public Menu {
private:
static constexpr u32 InstallButtonId = 0;