- When booting a GALE01 ISO, use the tournament mode region to store the Gecko
codelist. If the user is booting a 20XX ISO or some non-GALE01 ISO, just use
the default codelist location.
- Let the codehandler read a pointer to the codelist to-be-used, and expect
the kernel to fill in the pointer when writing codehandler to memory
Makefiles are awesome.
(also, as a little simplification, the .h files are not copied into
/kernel, instead the /codehandler is added to include search)
(cherry picked from commit 5fef50ab319d69203a6ca0f045c7fe17fa19f2ef)
Broken due to commit 67fa83c8bd in the
recent rebase. (r414)
Changes:
- Marked codehandler/build.sh as executable.
- Create the .h files in the codehandler/ directory.
- kernel: Add codehandler/ to the include path.
- .gitignore: Ignore generated .h files in codehandler/.
-more massive cheats rework, now it is in even lower mem1 memory together with the codehandler (mem2 seems to be very instable for it), also now there is a codehandler specifically for debugging and non-debugging to use the available space as efficient as possible
-modified the debugging codehandler to actually work in this low memory region, should hopefully accept breakpoints as good as it did in the past in the default area
-fixed possible bug in both debugging and non-debugging codehandlers
-disabled all cheat hooks and added a new one directly through the PADRead function which exists in all games, this should give very good compatibility and most importantly more stability when using cheats
-the codehandler source code is now included in nintendont and will be compiled together with everything else, this just makes it more open and accessable