mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 06:34:17 +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">
|
<app version="1">
|
||||||
<name> USB Loader GX</name>
|
<name> USB Loader GX</name>
|
||||||
<coder>USB Loader GX Team</coder>
|
<coder>USB Loader GX Team</coder>
|
||||||
<version>1.0 r984</version>
|
<version>1.0 r985</version>
|
||||||
<release_date>201009300423</release_date>
|
<release_date>201009300633</release_date>
|
||||||
<short_description>Loads games from USB-devices</short_description>
|
<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.
|
<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.
|
The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller.
|
||||||
|
@ -425,11 +425,11 @@ int MainMenu(int menu)
|
|||||||
fix002 = game_cfg->errorfix002;
|
fix002 = game_cfg->errorfix002;
|
||||||
iosChoice = game_cfg->ios;
|
iosChoice = game_cfg->ios;
|
||||||
countrystrings = game_cfg->patchcountrystrings;
|
countrystrings = game_cfg->patchcountrystrings;
|
||||||
if (!altdoldefault)
|
//if (!altdoldefault)
|
||||||
{
|
//{
|
||||||
alternatedol = game_cfg->loadalternatedol;
|
alternatedol = game_cfg->loadalternatedol;
|
||||||
alternatedoloffset = game_cfg->alternatedolstart;
|
alternatedoloffset = game_cfg->alternatedolstart;
|
||||||
}
|
//}
|
||||||
reloadblock = game_cfg->iosreloadblock;
|
reloadblock = game_cfg->iosreloadblock;
|
||||||
returnToLoaderGV = game_cfg->returnTo;
|
returnToLoaderGV = game_cfg->returnTo;
|
||||||
}
|
}
|
||||||
|
@ -1381,7 +1381,7 @@ int MenuDiscList()
|
|||||||
|
|
||||||
if (idBtn.GetState() == STATE_CLICKED && mountMethod != 3)
|
if (idBtn.GetState() == STATE_CLICKED && mountMethod != 3)
|
||||||
{
|
{
|
||||||
gprintf("\n\tidBtn Clicked");
|
gprintf("\tidBtn Clicked\n");
|
||||||
struct discHdr * header = gameList[gameBrowser->GetSelectedOption()];
|
struct discHdr * header = gameList[gameBrowser->GetSelectedOption()];
|
||||||
//enter new game ID
|
//enter new game ID
|
||||||
char entered[10];
|
char entered[10];
|
||||||
@ -1492,7 +1492,7 @@ int MenuDiscList()
|
|||||||
GameStatistics.SetPlayCount(header->id, GameStatistics.GetPlayCount(header->id)+1);
|
GameStatistics.SetPlayCount(header->id, GameStatistics.GetPlayCount(header->id)+1);
|
||||||
GameStatistics.Save();
|
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));
|
header->id[3], header->id[4], header->id[5], GameStatistics.GetPlayCount(header->id));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1131,7 +1131,7 @@ int MenuSettings()
|
|||||||
if (haveTitle >= 0)
|
if (haveTitle >= 0)
|
||||||
{
|
{
|
||||||
name = (char*) NandTitles.NameFromIndex(haveTitle);
|
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 ] ));
|
options2.SetValue(Idx, "%s", name ? name : tr( opts_off_on[ 0 ] ));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user