From 5b6a6e98df04266e9029cbec710b36f2bafd4bd7 Mon Sep 17 00:00:00 2001 From: "e.bovendeur" Date: Sun, 20 Dec 2009 20:28:30 +0000 Subject: [PATCH] Fixed issue 1242: Ocarina doesn't work any more --- HBC/META.XML | 4 ++-- source/usbloader/disc.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HBC/META.XML b/HBC/META.XML index de5fbc11..c6d8928f 100644 --- a/HBC/META.XML +++ b/HBC/META.XML @@ -2,8 +2,8 @@ USB Loader GX USB Loader GX Team - 1.0 r872 - 200912200514 + 1.0 r874 + 200912202000 Loads games from USB-devices 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. diff --git a/source/usbloader/disc.c b/source/usbloader/disc.c index 30a8c7b3..c97632c8 100644 --- a/source/usbloader/disc.c +++ b/source/usbloader/disc.c @@ -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();