mirror of
https://github.com/wiiu-env/wiiu-nanddumper-payload.git
synced 2024-11-22 03:19:17 +01:00
fix menu
This commit is contained in:
parent
a0a2f57028
commit
1258dbb2fe
18
src/menu.c
18
src/menu.c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user