nyx: Add Home Screen selection
You can now choose between Main menu and Launch/More Cfg as home screens.
This commit is contained in:
@@ -57,6 +57,7 @@ void set_default_configuration()
|
||||
void set_nyx_default_configuration()
|
||||
{
|
||||
n_cfg.themecolor = 167;
|
||||
n_cfg.home_screen = 0;
|
||||
n_cfg.verification = 1;
|
||||
}
|
||||
|
||||
@@ -191,6 +192,9 @@ int create_nyx_config_entry()
|
||||
f_puts("[config]\nthemecolor=", &fp);
|
||||
itoa(n_cfg.themecolor, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
f_puts("\nhomescreen=", &fp);
|
||||
itoa(n_cfg.home_screen, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
f_puts("\nverification=", &fp);
|
||||
itoa(n_cfg.verification, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
|
||||
@@ -45,6 +45,7 @@ typedef struct _hekate_config
|
||||
typedef struct _nyx_config
|
||||
{
|
||||
u32 themecolor;
|
||||
u32 home_screen;
|
||||
u32 verification;
|
||||
} nyx_config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user