Welcome! Log In Create A New Profile

Advanced

new libfat problems...

Posted by GTxFinish 
new libfat problems...
February 04, 2009 06:03PM
Im trying to compile some older code from before the december updates to libfat, and it keeps throwing an error saying "PI_INTERNAL_SD" is undefined.

looking through the include they arent defined anymore...why is this? what changed?

I stumbled across some writeups by Hermes explaining the new libfat and upon following his little run-through he uses "fatSetDefaultInterface (PI_INTERNAL_SD);"

now tell me im crazy...but why are all the new functions recognized during compilation and yet the defines still dont exist for me?

i've reinstalled devkit and recompiled libfat from source countless times, even used the release versions of each.

Could someone please explain to me what is going on here or possibly upload a fat.h that actually has the defines in it?



Edited 1 time(s). Last edit at 02/04/2009 06:04PM by GTxFinish.
Re: new libfat problems...
February 04, 2009 06:14PM
libfat changed. Now the code you're compiling needs to. It's really simple.

Init libfat - fatInitDefault();
Using sd - sd:/thefolder/thefile
Using usb - usb:/thefolder/thefile

(sd: and usb: replace fat3: and fat4:)

Anything else, you can delete - eg: fatSetDefaultInterface
Re: new libfat problems...
February 04, 2009 06:35PM
oh wow, its that easy now eh? no wonder I couldnt figure it out, I was looking too hard.

Thanks very much, I appreciate your response!
Sorry, only registered users may post in this forum.

Click here to login