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>
This commit is contained in:
Ryan Myers
2022-02-07 08:55:50 -05:00
committed by GitHub
co-authored by Ryan Myers AntonioCastelli
parent 4c20967422
commit b36d96a655
88 changed files with 2245 additions and 2919 deletions
+1 -1
View File
@@ -359,7 +359,7 @@ void __scHandleRSP(OSSched *sc) {
} else {
t->state &= ~OS_SC_NEEDS_RSP;
/* BEGIN TODO: This just feels wrong, but it matches */
while(0){}
do{} while(0);
}
if ((t->flags & OS_SC_TYPE_MASK) != OS_SC_XBUS){}
/* END TODO */