mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-20 10:19:15 +01:00
*Fixed UnlockButton vanishing
*Fixed Update SD bug (wrong message) *CHANGED STANDARD PASSWORT TO NOT SET AND STANDARD LOAD IN GODMODE IF NO PASSWORT SET
This commit is contained in:
parent
4ea4576e02
commit
cfb976a35a
@ -813,7 +813,6 @@ int MenuSettings()
|
|||||||
w.Remove(&MainButton4);
|
w.Remove(&MainButton4);
|
||||||
titleTxt.SetText(LANGUAGE.Parentalcontrol);
|
titleTxt.SetText(LANGUAGE.Parentalcontrol);
|
||||||
exit = false;
|
exit = false;
|
||||||
if(Settings.godmode)
|
|
||||||
options2.SetName(0, "Console");
|
options2.SetName(0, "Console");
|
||||||
options2.SetName(1, "%s", LANGUAGE.Password);
|
options2.SetName(1, "%s", LANGUAGE.Password);
|
||||||
options2.SetName(2, "%s",LANGUAGE.Controllevel);
|
options2.SetName(2, "%s",LANGUAGE.Controllevel);
|
||||||
@ -1341,7 +1340,7 @@ int MenuSettings()
|
|||||||
w.Append(&optionBrowser2);
|
w.Append(&optionBrowser2);
|
||||||
w.Append(&backBtn);
|
w.Append(&backBtn);
|
||||||
} else {
|
} else {
|
||||||
WindowPrompt(LANGUAGE.NoSDcardinserted, LANGUAGE.InsertaSDCardtousethatoption, LANGUAGE.ok, 0,0,0);
|
WindowPrompt(LANGUAGE.ConsoleLocked, LANGUAGE.UnlockConsoletousethisOption, LANGUAGE.ok, 0,0,0);
|
||||||
}
|
}
|
||||||
slidedirection = FADE;
|
slidedirection = FADE;
|
||||||
pageToDisplay = 2;
|
pageToDisplay = 2;
|
||||||
|
@ -248,6 +248,7 @@ bool MenuOGG()
|
|||||||
if(ret>=0) {
|
if(ret>=0) {
|
||||||
choice = WindowPrompt(LANGUAGE.Setasbackgroundmusic,GetFileName(ret),LANGUAGE.Yes,LANGUAGE.No,0,0);
|
choice = WindowPrompt(LANGUAGE.Setasbackgroundmusic,GetFileName(ret),LANGUAGE.Yes,LANGUAGE.No,0,0);
|
||||||
if(choice == 1) {
|
if(choice == 1) {
|
||||||
|
StopOgg();
|
||||||
snprintf(fullpath,150,"%s%s",Settings.oggload_path,GetFileName(ret));
|
snprintf(fullpath,150,"%s%s",Settings.oggload_path,GetFileName(ret));
|
||||||
choice = bgMusic->PlayOggFile(fullpath);
|
choice = bgMusic->PlayOggFile(fullpath);
|
||||||
if(choice < 0) {
|
if(choice < 0) {
|
||||||
|
@ -231,8 +231,9 @@ void CFG_Default(int widescreen) // -1 = non forced Mode
|
|||||||
snprintf(Settings.covers_path, sizeof(Settings.covers_path), "SD:/images/"); //default image path
|
snprintf(Settings.covers_path, sizeof(Settings.covers_path), "SD:/images/"); //default image path
|
||||||
snprintf(Settings.disc_path, sizeof(Settings.disc_path), "SD:/images/disc/");
|
snprintf(Settings.disc_path, sizeof(Settings.disc_path), "SD:/images/disc/");
|
||||||
snprintf(Settings.titlestxt_path, sizeof(Settings.titlestxt_path), "SD:/config/");//default path for disc images
|
snprintf(Settings.titlestxt_path, sizeof(Settings.titlestxt_path), "SD:/config/");//default path for disc images
|
||||||
snprintf(Settings.unlockCode, sizeof(Settings.unlockCode), "ab121b"); // default password
|
char * empty = "";
|
||||||
snprintf(Settings.language_path, sizeof(Settings.language_path), "SD:/config/language/");
|
snprintf(Settings.unlockCode, sizeof(Settings.unlockCode), empty); // default password
|
||||||
|
snprintf(Settings.language_path, sizeof(Settings.language_path), "notset");
|
||||||
snprintf(Settings.languagefiles_path, sizeof(Settings.languagefiles_path), "SD:/config/language/");
|
snprintf(Settings.languagefiles_path, sizeof(Settings.languagefiles_path), "SD:/config/language/");
|
||||||
snprintf(Settings.oggload_path, sizeof(Settings.oggload_path), "SD:/config/backgroundmusic/");
|
snprintf(Settings.oggload_path, sizeof(Settings.oggload_path), "SD:/config/backgroundmusic/");
|
||||||
snprintf(Settings.update_path, sizeof(Settings.update_path), "SD:/apps/usbloader_gx/");
|
snprintf(Settings.update_path, sizeof(Settings.update_path), "SD:/apps/usbloader_gx/");
|
||||||
@ -340,7 +341,9 @@ void Global_Default(void)
|
|||||||
Settings.volume = 80;
|
Settings.volume = 80;
|
||||||
Settings.sfxvolume = 80;
|
Settings.sfxvolume = 80;
|
||||||
Settings.tooltips = TooltipsOn;
|
Settings.tooltips = TooltipsOn;
|
||||||
snprintf(Settings.unlockCode, sizeof(Settings.unlockCode), "ab121b");
|
char * empty = "";
|
||||||
|
snprintf(Settings.unlockCode, sizeof(Settings.unlockCode), empty);
|
||||||
|
Settings.godmode = 1;
|
||||||
Settings.parentalcontrol = 0;
|
Settings.parentalcontrol = 0;
|
||||||
Settings.cios = ios249;
|
Settings.cios = ios249;
|
||||||
Settings.xflip = no;
|
Settings.xflip = no;
|
||||||
|
Loading…
Reference in New Issue
Block a user