iBite wrote:okay so..
[on hardware]
* libfat fatInitDefault() - Okay
* nitrofs - Failure (even after patching)
And which method did you use to launch your nitroFS nds file? If you did not use the homebrew launcher then nitrofs will always fail, and I already said that the only emulator that works with nitroFS enabled nds files is no$.
link to the homebrew menu -
http://devkitpro.svn.sourceforge.net/vi ... z?view=tar
One thing about the homebrew menu, this will not work on emulators since it needs a working fat implementation. The reason you need to use this file instead of the launcher that comes with your cart is that the nitro filesystem requires a correctly setup command line, most cart launchers do not have this feature yet, and in the case of the R4 it's doubtfull that it ever will.
Oh and as for the comment about no printf or any kind of debugging, libnds includes a console, that has iprintf (iprintf is an integer only implementation of printf which is perfect for the DS since there is no FPU on the DS) and it's very useful, there is also a guru meditation / crash error report function that I've not played with but it helps alot with finding errors.
And to paraphase WinterMute - There's only one way to test your nds files, and that's on real hardware since emulators do not behave like the real thing.