Audio WIP (#836)

* being code_800EC960

* wip

* wip

* more audio progress

* migrate data in code_800E11F0

* wip

* make ok

* remove asm

* wip

* move some variables outside of gAudioContext to the AudioContext structure due to the size used in func_800E3094

* more progress

* wip

* wip

* split code_800E11F0

* migrate rodata in code_800E11F0

* match functions that couldn't because of data issues

* move code_800E4FE0 asm files

* wip

* more wip

* fix global functions, and forward declarations

* wip

* wip

* wip

* ocarina wip

* match a couple functions

* some progress

* separate some bss

* match func_800EDA3C

* some matching

* more matches

* migrate audio rodata

* some matches

* more matchess

* start on synthesis

* work on synthesis

* fix function declaration

* Merge branch 'master' into audio

* match a few more functions

* wip

* wip

* more matching, rename Audio_SetBGM to Audio_QueueSeqCmd

* name several audio functions, and audiocontext members

* more naming, rename code_800E11F0 to audio_load, code_800DAAC0 to audio_synthesis

* audio wip

* match a few more functions.

* wip

* add missing NON_MATCHING directive

* wip

* some matching, data reogranization

* match cursed function

* wip

* wip

* formatting

* remove prefix from struct memebers

* missed function rename

* review

Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
krimtonz
2021-07-27 18:44:58 -05:00
committed by GitHub
parent cc9a04feb4
commit d1a5ea5110
429 changed files with 9047 additions and 17038 deletions
@@ -1050,7 +1050,7 @@ glabel L800EBBDC
/* B62D94 800EBBF4 A05E00C4 */ sb $fp, 0xc4($v0)
/* B62D98 800EBBF8 82C50019 */ lb $a1, 0x19($s6)
/* B62D9C 800EBBFC 92840007 */ lbu $a0, 7($s4)
/* B62DA0 800EBC00 0C038D05 */ jal func_800E3414
/* B62DA0 800EBC00 0C038D05 */ jal Audio_SyncLoadSample
/* B62DA4 800EBC04 244600C4 */ addiu $a2, $v0, 0xc4
/* B62DA8 800EBC08 145EFD3A */ bne $v0, $fp, .L800EB0F4
/* B62DAC 800EBC0C 00000000 */ nop
@@ -1064,7 +1064,7 @@ glabel L800EBBDC
/* B62DC8 800EBC28 96850022 */ lhu $a1, 0x22($s4)
/* B62DCC 800EBC2C 92840007 */ lbu $a0, 7($s4)
/* B62DD0 800EBC30 244600C4 */ addiu $a2, $v0, 0xc4
/* B62DD4 800EBC34 0C038D05 */ jal func_800E3414
/* B62DD4 800EBC34 0C038D05 */ jal Audio_SyncLoadSample
/* B62DD8 800EBC38 24A50100 */ addiu $a1, $a1, 0x100
/* B62DDC 800EBC3C 145EFD2D */ bne $v0, $fp, .L800EB0F4
/* B62DE0 800EBC40 00000000 */ nop