mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 03:09:15 +01:00
fix code dump when using hairless mode and FAT32
This commit is contained in:
parent
55a401e4a5
commit
d14bebd159
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>1.0 r845</version>
|
||||
<release_date>200912030058</release_date>
|
||||
<version>1.0 r846</version>
|
||||
<release_date>200912030606</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.
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <locale.h>
|
||||
#include <wiiuse/wpad.h>
|
||||
//#include <debug.h>
|
||||
//extern "C" { //not sure if this is in teh libogc that the buildbot is using so it isnt used yet
|
||||
//extern "C" { //not sure if this is in the libogc that the buildbot is using so it isnt used yet
|
||||
//extern void __exception_setreload(int t);
|
||||
//}
|
||||
|
||||
@ -191,7 +191,7 @@ main(int argc, char *argv[]) {
|
||||
gprintf("------------------");
|
||||
gprintf("\nUSB Loader GX rev%s",GetRev());
|
||||
gprintf("\nmain(%d", argc);
|
||||
for (int i=1;i<argc;i++)
|
||||
for (int i=0;i<argc;i++)
|
||||
gprintf(", %s",argv[i]?argv[i]:"<NULL>");
|
||||
gprintf(")");
|
||||
|
||||
|
@ -368,12 +368,18 @@ int MainMenu(int menu) {
|
||||
BootHomebrewFromMem();
|
||||
}
|
||||
else {
|
||||
gprintf("\n\tSettings.partition:%d",Settings.partition);
|
||||
struct discHdr *header = NULL;
|
||||
//if the GUI was "skipped" to boot a game from main(argv[1])
|
||||
if (strcmp(headlessID,"")!=0)
|
||||
{
|
||||
gprintf("\n\tHeadless mode (%s)",headlessID);
|
||||
__Menu_GetEntries(1);
|
||||
if (!gameCnt)
|
||||
{
|
||||
gprintf(" ERROR : !gameCnt");
|
||||
exit(0);
|
||||
}
|
||||
//gprintf("\n\tgameCnt:%d",gameCnt);
|
||||
for(u32 i=0;i<gameCnt;i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user