Add arguments support to Daybreak (#1616)

* Add arguments support to Daybreak

* Check if Daybreak is run as NRO
This commit is contained in:
HamletDuFromage
2021-09-11 19:55:25 +02:00
committed by GitHub
parent bfeba7c1e8
commit a1fb8a91c8
3 changed files with 32 additions and 5 deletions

View File

@@ -263,7 +263,8 @@ namespace dbk {
virtual void Draw(NVGcontext *vg, u64 ns) override;
};
void InitializeMenu(u32 screen_width, u32 screen_height);
bool InitializeMenu(u32 screen_width, u32 screen_height);
bool InitializeMenu(u32 screen_width, u32 screen_height, const char *update_path);
void UpdateMenu(u64 ns);
void RenderMenu(NVGcontext *vg, u64 ns);
bool IsExitRequested();