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 > Desmume fat loading

#166578 - ChronoDK - Tue Feb 10, 2009 10:15 am

I guess this one needs its own thread. I'm trying to load my game in Desmume, but the file loading does not work. I tried both EFS (works with other emus) and libfat (works on hardware).

Code looks something like this, but no file is found:

Code:

   //Open map file
   infile.open( ("/" + mapName + ".txt").c_str() );


In Desmume I pick a folder as the flash location. The rom is DLDI patched as a GBAMP CF so libfat is initializing just fine.