* Turn D_802BFB80 into a union
As much as I hate it, it does make more matches possible
Got a few more, unrelated matches
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Update based on comment
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Update to address comment
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* More matches in code_80091750
Fixed some missing balign directives in some assembly files.
A lot of these matches are dependent on flattening a bunch of
arrays, which feels icky but makes matching possible.
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Matched another function
Updated the attempts for a couple others
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
Also deleted an unused .c file, its current name is `effects.c`
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
Also updated ctx_includes to match the current state of the
repository (primarily fixing the trig_table include location)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
his PR cleans up segment related code in main.c.
Also cleans up the linker a bit.
Add memory pool to linker as .bss to validate that it exists properly.
Move framebuffers, gfx, and audio buffers out of racing segment and make its own segment.
Rename framebuffers.c to buffers.c as it contains more than just framebuffers.
Import asserts from sm64 to validate that code segments are not overlapping
Rename segNoload to segmentNoload
Rename 802BA370 segment to trigTables
Rename gMenuSelectionFromEndingSequence to gGotoMenu
Rename gMenuSelectionFromQuit to gGotoMode
Rename SEG_ENDING_SEQUENCES to SEG_ENDING
Rename data_821D10 to ceremonyData
Rename data_825800 to startupLogo
* Some matches in code_80091750
Found a couple functions that had not been split out properly
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* More matches
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* Update and rename code_8001F980.c to render_player.c
* Rename code_8001F980.h to render_player.h
* rename import file to render_player
* Update and rename code_80004740.c to save.c
* Rename code_80004740.h to save.h
* Match create_next_audio_frame_task
Required some variable renaming and other changes
* Match synthesis_execute
I'm not entirly sure about the way we have stuff ifdef'd in
PR/abi.h. I feel like we're doing something slightly wrong there
* Match synthesis_do_one_audio_update
There's something super fucked with the way our ifdef's work in
abi.h. It is going to demand a lot more attention sometime in the
future.
* Rename a couple functions
Also had to hack up the ABI file a bit. I'm convinced that we
don't need nor want to have the EU/Shindou/US split thing the
SM64 code does. There's probably just the 1 ABI version being
used and we need to figure out what it looks like
Signed-off-by: Taggerung <tyler.taggerung@email.com>