So I reinstalled devkitA64 and libnx from the devkitPro Updater this time, and I managed to compile the NGP core into a "mednafen_ngp_libretro_switch.a" file successfully, but when I moved the .a file to the RetroArch LibNX folder and tried to compile it into a .nro, this is what I got:
Code:
config.mk is outdated or non-existing. Run ./configure again.
Makefile:10: config.mk: No such file or directory
make: *** [Makefile:183: config.mk] Error 1
So I tried to compile it using the command "make -f Makefile.switch platform=switch" (rather than simply "make platform=switch", which is what I originally did for the .a file), and guess what? It worked! Now I have a compiled .nro file!
Despite, you know, throwing me up yet another error at the very end:
Code:
linking retroarch_switch.elf
built ... retroarch_switch.nso
built ... retroarch_switch.pfs0
built ... retroarch_switch.nacp
Visiting directories...
Failed to open directory C:/devkitPro/devkitA64/projects/RetroArch/RetroArch_LibNX-develop/romfs!
make: *** [/opt/devkitpro/libnx/switch_rules:69: retroarch_switch.nro] Error 1
I'm going to test it, and if it works, I'll get a download up ASAP.