Re: Saving game data
Posted: Sun May 22, 2011 4:17 am
That's what I thought. I can only assume then it's because I am running in an emulator on the PC.
It doesn't seem to matter what text string I put in there, whenever I call fopen the pointer is always null.
No idea what's causing it but in the end I found it easier to just print the contents of the save file onto the screen for debugging purposes than reading the file directory. Saving wear and tear having to continually put the memory in and out of the PC and DS.
Thanks for the comment zeromus
It doesn't seem to matter what text string I put in there, whenever I call fopen the pointer is always null.
No idea what's causing it but in the end I found it easier to just print the contents of the save file onto the screen for debugging purposes than reading the file directory. Saving wear and tear having to continually put the memory in and out of the PC and DS.
Thanks for the comment zeromus