7 Commits

Author SHA1 Message Date
Ryan Myers
34508976cd Match audioline_init (#497)
* Fix some AVOID_UB stuff, and some small documenting.

* Fix m2ctx.py and add NON_EQUIV func_80045C48

* Minor issue cleanups

* Clean up audioline_ambient_create match

* Match func_80008040 as audioline_init, fix the generate ctx script, and some small warning stuff.

* Minor work on func_80008174 so it can be NON_EQUIVALENT again

* redefine asm abs

* Hackishly fix the ctx file when generated.

* Use some more constants and got rid of some start: auto stuff which is not recommended in splat anymore for BSS

* Do some documenting, and slightly better matches using JFG source.

* Formatting

* Clean up some more audio stuff

* Further cleanup and naming of things
2025-04-05 16:00:13 -04:00
Ryan Myers
a005a4eb3d Match all libultra, and more closely match ultralib (#466)
* Massive libultra changes

* Fix the build!

* Remove crc comment that seemd to break the score script for some reason.

* Update README score.

* Apply some suggestions

* rename sins and coss funcs.
2025-02-24 11:45:02 -05:00
Fazana
c41bbf9131 Match 3 libultra funcs + some texture init labels (#383)
* Fix warnings

* Update src/thread0_epc.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* identify some texture init stuff

* match _Litob

* match cosf

* match sinf

* formatting

* Update math.h

* Delete sinf.s

* quick fix

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2023-04-16 14:50:14 +01:00
Rena Kunisaki
bcd0e5a54b add comments for some official names 2023-01-31 12:02:37 -05:00
Ryan Myers
b36d96a655 Matched and documented a lot of functions in controller pak (#201)
* Matched and documented a lot of functions in controller pak

* Clean up warnings on controller pak funcs

* Match func_80076A38

* Rename string_to_font_codes as I had it backwards

* Rename func_80076A38 to it's proper name

* Update and name some more funcs

* Near match for tt_menu_loop

* Remove M2C code, made SIDeviceStatus a type where possible, and reverted ghost header struct changes as I'm not happy with them

* Fix typo

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Better names for SIDeviceStatus enum UNK vals.

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Implement further suggestions

* Attempt to decompile func_80093D40, and got relatively close, identified some variables, but never got there yet

* Identify a couple more variables

* Match menu_boot_loop, it was *so* close, and just needed moving the s32 temp declaration.

* New matches from David just being added to my PR.

* Update return type of func_80087F14 to SIDeviceStatus, and make the #if 1 into a NON_EQUIVALENT for menu_character_loop for consistency

* Update src/unknown_0ABDF0.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

Co-authored-by: Ryan Myers <foldor@gmail.com>
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-02-07 08:55:50 -05:00
Ryan Myers
247a69ae2f Fix many warnings (#195)
* Fix many warnings, mostly when using functions without including headers, and mostly in libultra files. Included a few warning ignores as well

* Add another warning fix

* Revert trailing comma for LogicUpdateRates
2021-12-16 07:58:19 -05:00
Ryan Myers
3ac26b9fdb Split alCopy from printf file, add NON_MATCHING which are copied from SM64, and VERY CLOSE, and add a libc directory like SM64 2021-09-20 15:14:51 -04:00