fixed a bug in online-updates -- updated rev40.dol on server

This commit is contained in:
Christopher Roy Bratusek 2012-08-26 23:20:09 +02:00
parent 7654b3913c
commit 5e9d21609d
4 changed files with 15 additions and 2 deletions

Binary file not shown.

View File

@ -20,6 +20,7 @@
/*** Extern variables ***/
extern GuiWindow * mainWindow;
extern bool boot_buffer;
extern bool updatehbf;
/*** Extern functions ***/
extern void ResumeGui();
@ -129,8 +130,8 @@ updatePrompt(string rev)
if(file.data)
free(file.data);
LoadHomebrew ((Settings.device_dat + ":/apps/HomebrewFilter/boot.dol").c_str());
BootHomebrew ();
boot_buffer = true;
updatehbf = true;
}
else
{

View File

@ -65,6 +65,7 @@ bool wiiload = false;
bool goneek2o = false;
bool gorealnand = false;
bool restarthbf = false;
bool updatehbf = false;
bool gosegui = false;
const char* segui_loc;
bool runaway = false;
@ -305,6 +306,13 @@ main(int argc, char *argv[])
if(restarthbf)
WII_LaunchTitle(0x0001000154484246);
if(updatehbf)
{
Settings.force_reload = "NORELOAD";
LoadHomebrew ((Settings.device_dat + ":/apps/HomebrewFilter/boot.dol").c_str());
BootHomebrew();
}
if(gosegui)
{
LoadHomebrew(segui_loc);

View File

@ -14,6 +14,10 @@
must be :/apps/SettingsEditorGUI/boot.dol on any device
(all sd, usb, dvd, sd gecko a and sd gecko b supported)
- remove back button from exit prompt (press B/HOME to go back)
- fixed a bug in online-updates (if online-update fails,
simply boot 'The HomebrewFilter', the updated boot.dol
is already saved on your SD-Card (or USB-HDD)) - future
online-updates will work normally again.
- For theme designers: the following new icons have been added:
* gca_active (device menu)
* gca_inactive (device menu)