This commit is contained in:
koolkdev 2017-03-26 21:13:04 +03:00
parent a0a2f57028
commit 1258dbb2fe
1 changed files with 10 additions and 8 deletions

View File

@ -57,9 +57,11 @@ struct {
{ "SEEPROM redirection", "on", "off" },
{ "OTP redirection", "on", "off" },
{ "Use syshax.xml (coldboothax)", "on", "off" },*/
{ "Dump SLC", "yes", "no" },
{ "Dump SLCCMPT", "yes", "no" },
{ "Dump MLC", "yes", "no" },
{ "Dump SLC (512MB)", "yes", "no" },
{ "Dump SLCCMPT (512MB)", "yes", "no" },
{ "Dump MLC (8GB/32GB)", "yes", "no" },
{ "Dump OTP (1KB)", "yes", "no" },
{ "Dump SEEPROM (1KB)", "yes", "no" },
};
static void console_print_pos(int x, int y, const char *format, ...)
@ -263,11 +265,11 @@ int ShowMenu(cfw_config_t * currentConfig)
OSScreenShutdown();
free(screenBuffer);
/*if(memcmp(currentConfig, &config, sizeof(cfw_config_t)) != 0)
{
memcpy(currentConfig, &config, sizeof(cfw_config_t));
write_config(currentConfig);
}*/
//if(memcmp(currentConfig, &config, sizeof(cfw_config_t)) != 0)
//{
memcpy(currentConfig, &config, sizeof(cfw_config_t));
// write_config(currentConfig);
//}
return launch;
}