The runtime's calls into the game's code

The runtime calls the game's code itself where the console's driver calls it back: an NVN command buffer's memory callback, when its memory runs out (nvn_cmd.c's guest_call). No dispatch slot holds the game's code under NCE and no JIT runs, so snx_lookup misses; RtAPI.miss then runs the code natively from its pc, as an empty slot does (nce_slot), in a run nested in the outcall that called NVN. It returns to the caller's link register, and the runtime goes on from there.


Made from docs/platforms/nx/nce.md at 69237645142c. GPL-3.0-or-later.