This commit is contained in:
koolkdev 2017-03-26 21:13:04 +03:00
parent a0a2f57028
commit 1258dbb2fe

View File

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