mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 03:39:59 +00:00
Better AudioMgr_StopAllSfx match (#1316)
* Better AudioMgr_StopAllSfx match * Use same temp name * remove volatile
This commit is contained in:
parent
354a2c29f8
commit
beb56ad27a
1 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,9 @@ u8 sSfxBankIds[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
void AudioMgr_StopAllSfx(void) {
|
void AudioMgr_StopAllSfx(void) {
|
||||||
u32 i;
|
u8* bankIdPtr;
|
||||||
|
|
||||||
for (i = 0; (u32)(i < ARRAY_COUNT(sSfxBankIds)); i++) {
|
for (bankIdPtr = &sSfxBankIds[0]; bankIdPtr < (sSfxBankIds + ARRAY_COUNT(sSfxBankIds)); bankIdPtr++) {
|
||||||
Audio_StopSfxByBank(sSfxBankIds[i]);
|
Audio_StopSfxByBank(*bankIdPtr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue