Fixed issue 1242: Ocarina doesn't work any more

This commit is contained in:
e.bovendeur 2009-12-20 20:28:30 +00:00
parent dc34b25542
commit 5b6a6e98df
2 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>1.0 r872</version>
<release_date>200912200514</release_date>
<version>1.0 r874</version>
<release_date>200912202000</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.

View File

@ -283,11 +283,6 @@ s32 Disc_BootPartition(u64 offset, u8 videoselected, u8 cheat, u8 vipatch, u8 pa
memset(gameid, 0, 8);
memcpy(gameid, (char*)Disc_ID, 6);
if (cheat == 1) {
/* OCARINA STUFF - FISHEARS*/
do_sd_code(gameid);
}
/* Setup low memory */
__Disc_SetLowMem();
@ -296,6 +291,11 @@ s32 Disc_BootPartition(u64 offset, u8 videoselected, u8 cheat, u8 vipatch, u8 pa
if (ret < 0)
return ret;
if (cheat == 1) {
/* OCARINA STUFF - FISHEARS*/
do_sd_code(gameid);
}
//kill the USB and SD
USBDevice_deInit();
SDCard_deInit();