Hacking FINALLY! Hungyip figured out image reload issue!

  • Thread starter Thread starter wiimano
  • Start date Start date
  • Views Views 5,757
  • Replies Replies 21

wiimano

Well-Known Member
Member
Joined
Apr 9, 2009
Messages
203
Reaction score
0
Trophies
1
XP
36
Country
United States
If there is anyone out there who had the same issue as me. This is why the images were not loading from sd card if you had "waiting for usb device"

explanation from hungyip...

when the loader try to redetect the harddisk

it reload IOS249, and that shutdown the SD card device

that's why image loading would not work

and i added a line of code to initialize the SD drive again

at first i thought it was something wrong with the image loading part

brisma initialize the SD drive everytime before he load the image

[/quote]

In menu.c

After the line

Code:
ret = WBFS_Init(wbfsDev, timeout);

Add the following line:

Code:
Fat_MountSDHC();
[/quote]


hungyip84 said:
this is just my guess about the cause of the bug:

inside usb-loader.c, in the usb retry code, the SD device would be unmounted, and since the SD device is unmounted during retry, the images could not be loaded.

This explain why the background could be load but not the cover arts (because background is loaded before the usb retry)

So what I did is to re-mount sd drive after the retry.

everyone whos making loaders, make sure you add this to your source, so this issue is gone forever!

thanks again mate


http://sharebee.com/8700b105
 
So this is for people loading games and images from SD..??
Games USB and images from SD..??
Games SD and images from USB..?

huh.gif
 
i need hungyip to chime in here on this, he fixed it, i only gave him the issue, said he just added another line, he will reply shortly, get the word out to all coders out there to add this, thank you mates
 
this is V6 of ultimate loader, but all loaders need to add this to their source, so it will read from sd card and not shut it down if it has to wait for usb drive
 
this is just my guess about the cause of the bug:

inside usb-loader.c, in the usb retry code, the SD device would be unmounted, and since the SD device is unmounted during retry, the images could not be loaded.

This explain why the background could be load but not the cover arts (because background is loaded before the usb retry)

So what I did is to re-mount sd drive after the retry.
 
brisma got it right, hungyip recognized it and every loader out there needs to add this for all future loaders
 
waninkoko said:
Don't try fatInitDefault() while using my SDHC module. The SDHC module supports SD and SDHC.

well then it doesn't seem to be working with my sd card... I mean your SDHC module... am I missing anything?

ps1: by the way just figured out, loader doesn't include ogc fat.h but of it's own...
ps2: does it work for everyone (sd access) but just me?
ps3: hmm sorry... yet I didn't installed new cios... guess that's the reason...
 

Site & Scene News

Popular threads in this forum