devkitARM r23b stat function fails - devkitARM r22 succeeded
Posted: Wed Aug 13, 2008 7:47 am
A while ago I was able to set up reading files from an emulator image using the instructions found here: http://thoughtsfrommylife.com/article-7 ... _on_the_DS when using devkitARM r22. Using the sample code found here: http://chishm.drunkencoders.com/libfat/, I was able to see the files and load them.
Recently I updated to devkitARM r23b. Using the same libraries (devkitPro didn't update libfat), I now receive an error from stat for the stat.st_size member. Oddly enough, the size returned by every call is 'FSCR' in hex.
Looking at the differences, as mentioned before, libfat is identical. The compiler has changed, despite -v saying they're both 4.3.0. Also a number of header files and libraries have changed. Before I go digging through all these to determine the cause, I was wondering if anyone else had seen a problem like this.
Recently I updated to devkitARM r23b. Using the same libraries (devkitPro didn't update libfat), I now receive an error from stat for the stat.st_size member. Oddly enough, the size returned by every call is 'FSCR' in hex.
Looking at the differences, as mentioned before, libfat is identical. The compiler has changed, despite -v saying they're both 4.3.0. Also a number of header files and libraries have changed. Before I go digging through all these to determine the cause, I was wondering if anyone else had seen a problem like this.