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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user