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
Add the following line:
[/quote]
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
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();
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












