Match and split unknown_003260.c into audiomgr.c and audiosfx.c (#364)

* Minor code cleanup and documenting in audio.c

* Match to func_80002DF8 to _amDmaNew

* Match func_800042CC

* Match func_8000410C

* Match func_800041FC as _removeEvents, and rename thread4_main to __amMain while also getting it's code to closer resemble the example code

* Add missing file

* MAtch __clearAudioDMA

* Cleanup __clearAudioDMA to match our code style a little better

* Match __amHandleFrameMsg

* Rename audio microcode from unknown, and clean up some code styles and variables names

* WIP audioNewThread

* Update WIP for audioNewThread

* Close to matching audioNewThread

* Match amCreateAudioMgr

* Match __amDMA

* Add constants, and remove static functions from header

* Make funcitons static where the originals were

* Fix score.py

* Split audiomgr and audiosfx files

* WIP clean up of audiomgr.c

* Finalize split of audiomgr and audiosfx

* Use AMAudioMgr

* Move the deck chairs

* Clean up sfx header

* Cleanup

* Cleanup sfx file, and move asm files

* Update score

* Fix NON_EQUIVALENT

* Match _sndpVoiceHandler

* Update some types
This commit is contained in:
Ryan Myers
2023-01-31 07:39:22 -05:00
committed by GitHub
parent 45820a71f2
commit 023dbb2126
36 changed files with 1128 additions and 1539 deletions
+5 -6
View File
@@ -63,13 +63,12 @@ typedef struct OSScTask_s {
OSTask list;
OSMesgQueue *msgQ;
OSMesg msg;
#ifndef _FINALROM /* all #ifdef items should */
OSTime startTime; /* remain at the end!!, or */
OSTime totalTime; /* possible conflict if */
#endif /* FINALROM library used with */
/* non FINALROM code */
s32 unk58;
s32 unk5C;
s32 unk60;
s32 unk64;
s32 unk68; /* Added by Rare? */
s32 unk6C;
} OSScTask;
typedef struct SCClient_s {