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 > Uppercase filename using libfat

#122694 - viruseb - Wed Mar 21, 2007 8:15 am

Hi,
During my debugging of the g6 dldi, sometime the name of the files I create are in uppercase.
For example if in my my test program I write :
Code:
hfw = fopen("/write.dat","wb");
...
fclose(hfw);

Windows find a WRITING.DAT in the root directory of my card.

Any idea of what's going on or maybe I just miss something ?

#122698 - chishm - Wed Mar 21, 2007 9:41 am

Filenames able to be stored in 8.3 format are stored that way. 8.3 filenames are always uppercase (non-case preserving).
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com