Match stack_pointer with C code (#530)

* Remove useless comment

* Small amounts of documenting, official names, and use some new knowledge to match what was previously thought to be only possible with hasm.

* Define the proper type for the stack_pointer function, and come up with a solution for GCC builds that should hopefully work.

* Partial revert to support getting the actual stack pointer for GCC builds

* Come up with a better GCC build option for getting the stack pointer

* Update the score
This commit is contained in:
Ryan Myers
2025-04-25 15:40:33 -04:00
committed by GitHub
parent c136b34b61
commit afb264bc16
18 changed files with 59 additions and 37 deletions
+1
View File
@@ -224,6 +224,7 @@ s32 get_viewport_count(void) {
/**
* Return the index of the active view.
* 0-3 is players 1-4, and 4-7 is the same, but with 4 added on for cutscenes.
* Official Name: camGetMode
*/
s32 get_current_viewport(void) {
return gActiveCameraID;