-
Every module must be in its subdir (suggestion: copy the sample
module
) -
The root Makefile has a
MODULES
list to auto-build them, place them in the application's romfs and then build the application.
Dynamic code (dyn.h
and dyn.c
) is a port of a port of a port (libtransistor in C -> Biosphere in C++ -> libnx in C++ -> libnx in C) which uses ldr:ro + ELF relocation to load a NRO, dlfcn-ish.
- libtransistor and its devs for the original dynamic loading code, amazing work