In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Libfat

From WiiBrew
Jump to navigation Jump to search

libFAT is a library for accessing FAT file systems such as those on SD cards and USB mass storage devices. It is included as part of devkitPPC / libogc.

Installation

libFAT is included as part of devkitPPC, just specify -lfat in LIBS section of your Makefile to start using it.

Sample Code

The following is a piece of sample code that illustrates using libfat to do a recursive directory listing of the sd card.

 * UPDATED Sample Code AT : http://www.mediafire.com/?sharekey=d3305079b29b477600d27174b47c6657e04e75f6e8ebb871

See Also