diff --git a/HBC/META.XML b/HBC/META.XML index 6d635ef2..be2f4f94 100644 --- a/HBC/META.XML +++ b/HBC/META.XML @@ -2,8 +2,8 @@ USB Loader GX USB Loader GX Team - 1.0 r855 - 200912110109 + 1.0 r856 + 200912110630 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/alternatedol.c b/source/usbloader/alternatedol.c index ff4f6686..f5199529 100644 --- a/source/usbloader/alternatedol.c +++ b/source/usbloader/alternatedol.c @@ -24,15 +24,15 @@ bool Load_Dol(void **buffer, int* dollen, char * filepath) { memcpy(gameidbuffer6, (char*)0x80000000, 6); snprintf(fullpath, 200, "%s%s.dol", filepath, gameidbuffer6); - SDCard_Init(); - USBDevice_Init(); +// SDCard_Init(); +// USBDevice_Init(); file = fopen(fullpath, "rb"); if (file == NULL) { fclose(file); - SDCard_deInit(); - USBDevice_deInit(); + // SDCard_deInit(); + // USBDevice_deInit(); return false; } @@ -44,22 +44,22 @@ bool Load_Dol(void **buffer, int* dollen, char * filepath) { dol_buffer = malloc(filesize); if (dol_buffer == NULL) { fclose(file); - SDCard_deInit(); - USBDevice_deInit(); + // SDCard_deInit(); + // USBDevice_deInit(); return false; } ret = fread( dol_buffer, 1, filesize, file); if (ret != filesize) { free(dol_buffer); fclose(file); - SDCard_deInit(); - USBDevice_deInit(); + // SDCard_deInit(); + // USBDevice_deInit(); return false; } fclose(file); - SDCard_deInit(); - USBDevice_deInit(); + // SDCard_deInit(); + // USBDevice_deInit(); *buffer = dol_buffer; *dollen = filesize; return true;