mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-22 18:01:54 +01:00
* check pointer before checking strlen of it ( crash fix when selecting a channel to return to )
* enable alt-dol again. still no auto-menu, but at least the games are playable
This commit is contained in:
parent
444d2dbe79
commit
8f94b1dde8
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>1.0 r984</version>
|
||||
<release_date>201009300423</release_date>
|
||||
<version>1.0 r985</version>
|
||||
<release_date>201009300633</release_date>
|
||||
<short_description>Loads games from USB-devices</short_description>
|
||||
<long_description>USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times.
|
||||
The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller.
|
||||
|
@ -409,7 +409,7 @@ int MainMenu(int menu)
|
||||
u8 iosChoice = Settings.cios;
|
||||
u8 fix002 = Settings.error002;
|
||||
u8 countrystrings = Settings.patchcountrystrings;
|
||||
u8 alternatedol = off;
|
||||
u8 alternatedol = off;
|
||||
u32 alternatedoloffset = 0;
|
||||
u8 reloadblock = off;
|
||||
u8 returnToLoaderGV = 1;
|
||||
@ -425,11 +425,11 @@ int MainMenu(int menu)
|
||||
fix002 = game_cfg->errorfix002;
|
||||
iosChoice = game_cfg->ios;
|
||||
countrystrings = game_cfg->patchcountrystrings;
|
||||
if (!altdoldefault)
|
||||
{
|
||||
//if (!altdoldefault)
|
||||
//{
|
||||
alternatedol = game_cfg->loadalternatedol;
|
||||
alternatedoloffset = game_cfg->alternatedolstart;
|
||||
}
|
||||
//}
|
||||
reloadblock = game_cfg->iosreloadblock;
|
||||
returnToLoaderGV = game_cfg->returnTo;
|
||||
}
|
||||
|
@ -1381,7 +1381,7 @@ int MenuDiscList()
|
||||
|
||||
if (idBtn.GetState() == STATE_CLICKED && mountMethod != 3)
|
||||
{
|
||||
gprintf("\n\tidBtn Clicked");
|
||||
gprintf("\tidBtn Clicked\n");
|
||||
struct discHdr * header = gameList[gameBrowser->GetSelectedOption()];
|
||||
//enter new game ID
|
||||
char entered[10];
|
||||
@ -1492,7 +1492,7 @@ int MenuDiscList()
|
||||
GameStatistics.SetPlayCount(header->id, GameStatistics.GetPlayCount(header->id)+1);
|
||||
GameStatistics.Save();
|
||||
|
||||
gprintf("\n\tplaycount for %c%c%c%c%c%c raised to %i", header->id[0], header->id[1], header->id[2],
|
||||
gprintf("\tplaycount for %c%c%c%c%c%c raised to %i\n", header->id[0], header->id[1], header->id[2],
|
||||
header->id[3], header->id[4], header->id[5], GameStatistics.GetPlayCount(header->id));
|
||||
|
||||
}
|
||||
|
@ -1131,7 +1131,7 @@ int MenuSettings()
|
||||
if (haveTitle >= 0)
|
||||
{
|
||||
name = (char*) NandTitles.NameFromIndex(haveTitle);
|
||||
if (!strlen(name)) name = NULL;
|
||||
if( name && !strlen(name) ) name = NULL;
|
||||
}
|
||||
options2.SetValue(Idx, "%s", name ? name : tr( opts_off_on[ 0 ] ));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user