mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-08 11:25:55 -04:00
Audio Sfx Functions Decompiled and Documented (code_8019AF00.c) (#1242)
* sfx decomp and docs * function headers * namefixer * oops * better sfx name * PR review * namefixer * PR review * float * namefixer * namefixer * namefixer * PR Suggestions
This commit is contained in:
+2
-2
@@ -198,7 +198,7 @@ void AudioSfx_RemoveMatchingRequests(u8 aspect, SfxBankEntry* entry) {
|
||||
}
|
||||
|
||||
if (remove) {
|
||||
req->sfxId = 0;
|
||||
req->sfxId = NA_SE_NONE;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -214,7 +214,7 @@ void AudioSfx_ProcessRequest(void) {
|
||||
u8 evictImportance;
|
||||
u8 evictIndex = 0x80;
|
||||
|
||||
if (req->sfxId == 0) {
|
||||
if (req->sfxId == NA_SE_NONE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user