nyx: Allow always writeable emmc via config

The key is `umsemmcrw` and resides in nyx.ini
This commit is contained in:
CTCaer
2020-05-05 19:26:10 +03:00
parent 7543234401
commit a91378b9c1
5 changed files with 12 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ void set_nyx_default_configuration()
n_cfg.timeoff = 0;
n_cfg.home_screen = 0;
n_cfg.verification = 1;
n_cfg.ums_emmc_rw = 0;
}
int create_config_entry()
@@ -202,6 +203,9 @@ int create_nyx_config_entry()
f_puts("\nverification=", &fp);
itoa(n_cfg.verification, lbuf, 10);
f_puts(lbuf, &fp);
f_puts("\numsemmcrw=", &fp);
itoa(n_cfg.ums_emmc_rw, lbuf, 10);
f_puts(lbuf, &fp);
f_puts("\n", &fp);
f_close(&fp);