mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
*Fixed some BUGs
This commit is contained in:
parent
3cf77ae5f3
commit
8750eb2851
@ -867,7 +867,10 @@ static int MenuDiscList()
|
||||
*/
|
||||
Settings.gameDisplay=list;
|
||||
menu = MENU_DISCLIST;
|
||||
listBtn.ResetState();
|
||||
if(isInserted(bootDevice)) {
|
||||
cfg_save_global();
|
||||
}
|
||||
listBtn.ResetState();
|
||||
break;
|
||||
} else {
|
||||
/*gameBrowser.Reload(gameList, gameCnt); // initialize before append
|
||||
@ -939,7 +942,10 @@ static int MenuDiscList()
|
||||
*/
|
||||
Settings.gameDisplay=grid;
|
||||
menu = MENU_DISCLIST;
|
||||
gridBtn.ResetState();
|
||||
if(isInserted(bootDevice)) {
|
||||
cfg_save_global();
|
||||
}
|
||||
gridBtn.ResetState();
|
||||
break;
|
||||
} else {
|
||||
/*
|
||||
@ -1007,7 +1013,10 @@ static int MenuDiscList()
|
||||
*/
|
||||
Settings.gameDisplay=carousel;
|
||||
menu = MENU_DISCLIST;
|
||||
carouselBtn.ResetState();
|
||||
if(isInserted(bootDevice)) {
|
||||
cfg_save_global();
|
||||
}
|
||||
carouselBtn.ResetState();
|
||||
break;
|
||||
} else {
|
||||
/*
|
||||
@ -1411,15 +1420,14 @@ static int MenuInstall()
|
||||
sprintf(errortxt, "%s: %.2fGB, %s: %.2fGB",LANGUAGE.GameSize, gamesize, LANGUAGE.FreeSpace, freespace);
|
||||
choice = WindowPrompt(LANGUAGE.Notenoughfreespace,errortxt,LANGUAGE.ok, LANGUAGE.Return,0,0);
|
||||
if (choice == 1) {
|
||||
wiilight(1);
|
||||
ret = ProgressWindow(gametxt, name);
|
||||
wiilight(0);
|
||||
if (ret != 0) {
|
||||
WindowPrompt (LANGUAGE.Installerror,0,LANGUAGE.Back,0,0,0);
|
||||
menu = MENU_DISCLIST;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
wiilight(1);
|
||||
__Menu_GetEntries(); //get the entries again
|
||||
WindowPrompt (LANGUAGE.Successfullyinstalled,name,LANGUAGE.ok,0,0,0);
|
||||
menu = MENU_DISCLIST;
|
||||
@ -1433,6 +1441,7 @@ static int MenuInstall()
|
||||
}
|
||||
else {
|
||||
ret = ProgressWindow(gametxt, name);
|
||||
wiilight(0);
|
||||
if (ret != 0) {
|
||||
WindowPrompt (LANGUAGE.Installerror,0,LANGUAGE.Back,0,0,0);
|
||||
menu = MENU_DISCLIST;
|
||||
|
@ -744,8 +744,8 @@ int MenuSettings()
|
||||
Settings.cios = 0;
|
||||
if ( Settings.language >= settings_language_max)
|
||||
Settings.language = 0;
|
||||
if(Settings.ocarina >= settings_off_on_max)
|
||||
Settings.ocarina = 0;
|
||||
if(Settings.error002 >= settings_off_on_max)
|
||||
Settings.error002 = 0;
|
||||
|
||||
if (Settings.video == discdefault) options2.SetValue(0,"%s",LANGUAGE.DiscDefault);
|
||||
else if (Settings.video == systemdefault) options2.SetValue(0,"%s",LANGUAGE.SystemDefault);
|
||||
@ -907,7 +907,7 @@ int MenuSettings()
|
||||
else options2.SetValue(1, Settings.unlockCode);
|
||||
|
||||
if (Settings.godmode != 1) options2.SetValue(2, "********");
|
||||
else if(Settings.parentalcontrol == 0) options2.SetValue(2, LANGUAGE.Everyone);
|
||||
else if(Settings.parentalcontrol == 0) options2.SetValue(2, LANGUAGE.OFF);
|
||||
else if(Settings.parentalcontrol == 1) options2.SetValue(2, LANGUAGE.Child);
|
||||
else if(Settings.parentalcontrol == 2) options2.SetValue(2, LANGUAGE.Teen);
|
||||
else if(Settings.parentalcontrol == 3) options2.SetValue(2, LANGUAGE.Mature);
|
||||
@ -1891,13 +1891,13 @@ int GameSettings(struct discHdr * header)
|
||||
case 9:
|
||||
int choice = WindowPrompt(LANGUAGE.Areyousure,0,LANGUAGE.Yes,LANGUAGE.Cancel,0,0);
|
||||
if(choice == 1) {
|
||||
videoChoice = discdefault;
|
||||
viChoice = off;
|
||||
languageChoice = ConsoleLangDefault;
|
||||
ocarinaChoice = off;
|
||||
fix002 = off;
|
||||
videoChoice = Settings.video;
|
||||
viChoice = Settings.vpatch;
|
||||
languageChoice = Settings.language;
|
||||
ocarinaChoice = Settings.ocarina;
|
||||
fix002 = Settings.error002;
|
||||
onlinefix = off;
|
||||
countrystrings = off;
|
||||
countrystrings = Settings.patchcountrystrings;
|
||||
if(Settings.cios == ios222) {
|
||||
iosChoice = i222;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user