1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-14 20:05:02 +00:00

Match some audio functions (#896)

* cleanups

* Improve Audio_SequencePlayerProcessSequence

* cleanup

* labeling

* progress on func_800E5000

* func_800F6268

* func_800ECDF8

* Improve func_800F2464

* reorder variables

* labelling

* non-equivalent func_800EEA50

* minor doc

* func_800E6590

* minor doc

* Reformat abi.h

* Very slight improvements

* func_800DC384

* func_800E1618

* formatting

Co-authored-by: zelda2774 <zelda2774@invalid>
This commit is contained in:
zelda2774 2021-08-12 21:37:37 +02:00 committed by GitHub
parent 1b1487a504
commit a0d2cceeca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1321 additions and 1813 deletions

View file

@ -45,8 +45,8 @@ void Audio_ResetLoadStatus(void) {
}
for (i = 0; i < 0x80; i++) {
if (gAudioContext.seqLoadstatus[i] != 5) {
gAudioContext.seqLoadstatus[i] = 0;
if (gAudioContext.seqLoadStatus[i] != 5) {
gAudioContext.seqLoadStatus[i] = 0;
}
}
}
@ -207,7 +207,7 @@ void func_800DE4B0(s32 poolIdx) {
switch (poolIdx) {
case 0:
loadedPool = &gAudioContext.seqLoadedPool;
table = gAudioContext.seqLoadstatus;
table = gAudioContext.seqLoadStatus;
break;
case 1:
loadedPool = &gAudioContext.bankLoadedPool;
@ -304,7 +304,7 @@ void* Audio_AllocBankOrSeq(s32 poolIdx, s32 size, s32 arg2, s32 id) {
switch (poolIdx) {
case 0:
loadedPool = &gAudioContext.seqLoadedPool;
table = gAudioContext.seqLoadstatus;
table = gAudioContext.seqLoadStatus;
break;
case 1:
loadedPool = &gAudioContext.bankLoadedPool;