gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > 'FAT_FreeFiles()' libFAT equivalint?

#130715 - tondopie - Thu Jun 07, 2007 12:37 am

I am switching a certain older app to libFAT... what is the 'FAT_InitFiles()' libFAT equivalent?

Last edited by tondopie on Thu Jun 07, 2007 1:25 am; edited 1 time in total

#130721 - chuckstudios - Thu Jun 07, 2007 1:24 am

fatInitDefault();

Last edited by chuckstudios on Thu Jun 07, 2007 2:53 am; edited 1 time in total

#130722 - tondopie - Thu Jun 07, 2007 1:25 am

oh, sorry I meant FAT_FreeFiles()

#130726 - chuckstudios - Thu Jun 07, 2007 2:41 am

fatUnmount(PARTITION_INTERFACE partitionNumber);

#130727 - tondopie - Thu Jun 07, 2007 2:48 am

I thought it might be...

#130733 - chishm - Thu Jun 07, 2007 6:40 am

Make sure that you close all open files on a partition before unmounting it.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com