core1/code_11AC0.c done

This commit is contained in:
Banjo Kazooie
2022-11-07 16:00:15 -06:00
parent 14edee83be
commit b938d44488
2 changed files with 5 additions and 6 deletions

View File

@@ -631,12 +631,10 @@ void func_80250604(s32 arg0, s32 arg1, f32 arg2){
} }
} }
#ifndef NONMATCHING
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_11AC0/func_80250650.s")
#else
void func_80250650(void) { void func_80250650(void) {
N_ALCSPlayer *csplayer; N_ALCSPlayer *csplayer;
s32 i; s32 i;
s32 channel;
for(i = 0; i < 0x20; i++){ for(i = 0; i < 0x20; i++){
csplayer = func_802500CC(D_80282110[i].unk0); csplayer = func_802500CC(D_80282110[i].unk0);
@@ -650,7 +648,9 @@ void func_80250650(void) {
alCSPSetTempo(csplayer, (s32) D_80282110[i].unk8); alCSPSetTempo(csplayer, (s32) D_80282110[i].unk8);
} else { } else {
func_8025F510(csplayer,D_80282110[i].chan, D_80282110[i].unk8); func_8025F510(csplayer,D_80282110[i].chan, D_80282110[i].unk8);
if (((csplayer->chanMask) & (1 << D_80282110[i].chan))) { channel = D_80282110[i].chan;
if (((csplayer->chanMask) & (1 << channel))) {
if (D_80282110[i].unk8 == 0.0) { if (D_80282110[i].unk8 == 0.0) {
func_8025F5C0(csplayer, D_80282110[i].chan); func_8025F5C0(csplayer, D_80282110[i].chan);
} }
@@ -663,4 +663,3 @@ void func_80250650(void) {
} }
} }
} }
#endif

View File

@@ -49,7 +49,7 @@ segments:
- [0xE360, c, code_E360] #DONE - [0xE360, c, code_E360] #DONE
- [0xEAF0, c, code_EAF0] - [0xEAF0, c, code_EAF0]
- [0x10A00, c,code_10A00] - [0x10A00, c,code_10A00]
- [0x11AC0, c, code_11AC0] - [0x11AC0, c, code_11AC0] #DONE
- [0x12F10, c, code_12F10] #DONE - [0x12F10, c, code_12F10] #DONE
- [0x13640, c, code_13640] #DONE - [0x13640, c, code_13640] #DONE
- [0x13680, c, code_13680] #DONE - [0x13680, c, code_13680] #DONE