fatGetVolumeLabel bug

Support for the GBA/DS/Gamecube/Wii media card library
Post Reply
tueidj
Posts: 40
Joined: Thu Dec 10, 2009 9:26 am

fatGetVolumeLabel bug

Post by tueidj » Thu Dec 10, 2009 9:33 am

fatGetVolumeLabel in libfat.c is using regular C memory allocation routines (malloc/free) instead of the appropriate libfat wrappers (_FAT_mem_allocate/_FAT_mem_free), which breaks compiling when those functions aren't available.

WinterMute
Site Admin
Posts: 1845
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: fatGetVolumeLabel bug

Post by WinterMute » Thu Dec 10, 2009 3:48 pm

Interesting, what are you using libfat for that you don't have malloc/free available? Mainly curious, I'd actually forgotten we allowed for that case.
Help keep devkitPro toolchains free, Donate today

Personal Blog

tueidj
Posts: 40
Joined: Thu Dec 10, 2009 9:26 am

Re: fatGetVolumeLabel bug

Post by tueidj » Thu Dec 10, 2009 4:38 pm

Wii, but I use my own code for USB storage which expects data buffers allocated from MEM2.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests