Switch 2: Compatibility Mode: Difference between revisions

Add at least some basic info of nnCompatTrampoline instead of leaving it empty...
 
(2 intermediate revisions by one other user not shown)
Line 20: Line 20:


Below is a breakdown what some of the hooks and what their purpose is.
Below is a breakdown what some of the hooks and what their purpose is.
== Modules ==
Rtld is identical besides the extra page at the end of .bss for [[#CompatibilityParameter|CompatibilityParameter]].
The compat modules are loaded between the main module and the (sub)sdk* modules.
The existing modules are not directly modified.


== CompatibilityParameter ==
== CompatibilityParameter ==
Line 82: Line 89:


= nnCompatTrampoline =
= nnCompatTrampoline =
This module contains, in particular, game-specific patches for at least 5 games. They follow a pattern of "nnCompatPatchFor****", where the last 5 digits are the game code (for example, "nnCompatPatchForAyl8a" for Metroid: Dread).


= nnCompatThin =
= nnCompatThin =