From 9550b4c8a5b44d3bde959f1c7a97b48c491c7616 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sat, 9 May 2009 23:03:16 +0000 Subject: [PATCH] *Little fix --- source/menu.cpp | 14 +++++++------- svn_conf_ignore.svnprops | Bin 0 -> 56 bytes 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 svn_conf_ignore.svnprops diff --git a/source/menu.cpp b/source/menu.cpp index 7ff85bb3..f66ee91b 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -3522,7 +3522,8 @@ static int MenuSettings() else if (!strcmp("", Settings.unlockCode)) sprintf(options2.value[0], ""); else sprintf(options2.value[0], Settings.unlockCode); - if (Settings.cios == ios249) sprintf (options2.value[1],"cIOS 249"); + if (CFG.godmode != 1) sprintf(options2.value[1], "********"); + else if (Settings.cios == ios249) sprintf (options2.value[1],"cIOS 249"); else if (Settings.cios == ios222) sprintf (options2.value[1],"cIOS 222"); if (Settings.xflip == no) sprintf (options2.value[2],"No"); @@ -3540,14 +3541,11 @@ static int MenuSettings() else if(CFG.parentalcontrol == 2) sprintf(options2.value[5], "2"); else if(CFG.parentalcontrol == 3) sprintf(options2.value[5], "3"); - if (CFG.godmode != 1) sprintf(options2.value[6], "********"); - else sprintf(options2.value[6], CFG.covers_path); + sprintf(options2.value[6], CFG.covers_path); - if (CFG.godmode != 1) sprintf(options2.value[7], "********"); - else sprintf(options2.value[7], CFG.disc_path); + sprintf(options2.value[7], CFG.disc_path); - if (CFG.godmode != 1) sprintf(options2.value[8], "********"); - else sprintf(options2.value[8], CFG.theme_path); + sprintf(options2.value[8], CFG.theme_path); ret = optionBrowser2.GetClickedOption(); @@ -3583,6 +3581,7 @@ static int MenuSettings() } break; case 1: + if ( CFG.godmode == 1) Settings.cios++; break; case 2: @@ -3595,6 +3594,7 @@ static int MenuSettings() Settings.wsprompt++; break; case 5: + if ( CFG.godmode == 1) CFG.parentalcontrol++; break; case 6: diff --git a/svn_conf_ignore.svnprops b/svn_conf_ignore.svnprops new file mode 100644 index 0000000000000000000000000000000000000000..7bcb779f1f1cd0b14bd2d1d80925a29cf873e08b GIT binary patch literal 56 zcmZQ%U|