I know why legally you wouldn't want to load a commercial NDS ROM in your loader, but is there a reason you would as a developper be technically unable to load the commercial rom? I have some issues(mainly cosmetic, some functional) with my R4 clone, I have a real R4 that works reasonably well, but is of course limited to 2GB. So I was thining I could slap together a quick menu using libnds, but then I don't know if I have to decrypt something, or patch something to bypass copy protection and what to jump to.
If I had to guess I would say
But that feels to simple, any thoughts or example code from programmers. Disclaimer: I am trying to provide a loader for both hombrew and my backups for cartridges I actually purchased, I am in no way endorsing piracy.
If I had to guess I would say
Code:
#include
#include
#include
//do fat access to get fd
//seek to arm9 rom offset put to romAddr
void* romAddr;
memcpy(romAddr, arm9Destination, arm9BinarySize);
arm9executeAddress();










