From 103dfc8d6b528447e8af1632f4733dd258285ebc Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 20 Mar 2012 20:10:01 +0100 Subject: [PATCH] save childlock setting when exiting --- installer/wad/0001000154484246.tmd | Bin 592 -> 592 bytes source/Prompts/prompt_app_info.cpp | 2 +- source/main.cpp | 4 ++-- updates | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/installer/wad/0001000154484246.tmd b/installer/wad/0001000154484246.tmd index 60513cdfe5e3afab95b080a33559f2e8be9abe75..099b13e430f97a02e11a6a715639d0e5505a49d6 100644 GIT binary patch delta 28 mcmV+%0OSAA1kePqJOUJU@phcYz0mEwr7s8?uhe>zaHf~VvJO=M delta 28 kcmcb>a)D)o4U@=jyI<3TT~6L@lm6LPbN9*-n*ip10KN$gsQ>@~ diff --git a/source/Prompts/prompt_app_info.cpp b/source/Prompts/prompt_app_info.cpp index 8850757..f373d93 100644 --- a/source/Prompts/prompt_app_info.cpp +++ b/source/Prompts/prompt_app_info.cpp @@ -156,7 +156,7 @@ AppInfo(const char *title, string dir, u8* icon) GuiButton edit(editBtn.GetWidth(), editBtn.GetHeight()); edit.SetAlignment(ALIGN_LEFT, ALIGN_TOP); if(icon) - edit.SetPosition(48, 13); + edit.SetPosition(48, 14); else edit.SetPosition(10, 10); edit.SetImage(&editBtnImg); diff --git a/source/main.cpp b/source/main.cpp index 1ee4d1a..a304db0 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -87,9 +87,9 @@ void ExitApp() { ShutdownPads(); StopGX(); - if(strcasecmp(Settings.code,"NULL") == 0) + //if(strcasecmp(Settings.code,"NULL") == 0) save(); - UnmountAllDevices(); + UnmountAllDevices(); ISFS_Deinitialize(); } diff --git a/updates b/updates index 77dc9a1..95580ad 100644 --- a/updates +++ b/updates @@ -3,6 +3,7 @@ * DVD icon is now shown if necessary * erase button is hidden for apps from DVD * edit button no longer overlaps SD/USB/DVD icon (if any) +- BUGFIX: childlock is now saved when HBF exits //rev37: - improved update-mechanism: