save childlock setting when exiting

This commit is contained in:
Christopher Roy Bratusek 2012-03-20 20:10:01 +01:00
parent b7c6ecfb62
commit 103dfc8d6b
4 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -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);

View File

@ -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();
}

View File

@ -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: