wiiztec said:
nIxx are you going to fix the in game SD card access bug in your latest release?
This seems a problem of not deinitializing libfat and the sdcard before running a game, probably because libfat is
I use this:
CODE//libfat helper functions
int isSdInserted() {ÂÂÂÂreturn __io_wiisd.isInserted(); }
int SDCard_Init()
{
ÂÂÂÂ__io_wiisd.startup();
ÂÂÂÂif (!isSdInserted()){ÂÂÂÂ
ÂÂÂÂÂÂÂÂprintf("No SD card inserted!");
ÂÂÂÂÂÂÂÂreturn -1;
ÂÂÂÂ}
ÂÂÂÂif (!fatMountSimple ("fat", &__io_wiisd)){
ÂÂÂÂÂÂÂÂprintf("Failed to mount front SD card!");
ÂÂÂÂÂÂÂÂreturn -1;
ÂÂÂÂ}
ÂÂÂÂ
ÂÂÂÂreturn 1;
}
void SDCARD_deInit()
{
ÂÂÂÂ//First unmount all the devs...
ÂÂÂÂfatUnmount ("fat");
ÂÂÂÂ//...and then shutdown em!
ÂÂÂÂ__io_wiisd.shutdown();
}
I like to mount the devices separately, maybe this has some impact on the usb devices, as this usbloader currently uses fatinitdefault, and I think it initialized some usb things.
So, I would call SDCARD_deInit() inside Menu_Boot() at menu.c and try if that solves the "sd card bug".