I'm working on a game built with libnds. I've got to a certain point where I've got over 90 files and 35MB in nitrofs data. For some reason, however, when I try to read the file named snd_floweytalk1.wav all the bytes returned by fread are 0xFF, so there must be some issue with loading the files. The thing is, it does not happen if I change the order of the files, or if I remove one of the bigger files preceding it. Anyone got any idea on why this is the case, or how I could possibly fix it?
Important information:
I already have 2 other file descriptors open when I open this file, although I don't think this has anything to do with it.
I used NO$GBA to debug and MelonDS, and both run into the exact same issue.
https://pastebin.com/utTPPvmz: Output of the `tree nitrofs -s` (structure of the nitrofs folder). The number preceding the file names are its size. I cannot share the folder and its contents.
Thanks in advance!
Important information:
I already have 2 other file descriptors open when I open this file, although I don't think this has anything to do with it.
I used NO$GBA to debug and MelonDS, and both run into the exact same issue.
https://pastebin.com/utTPPvmz: Output of the `tree nitrofs -s` (structure of the nitrofs folder). The number preceding the file names are its size. I cannot share the folder and its contents.
Thanks in advance!