summaryrefslogtreecommitdiff
path: root/src/code/code_800F7260.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-02-26 15:48:42 -0500
committerGitHub <noreply@github.com>2023-02-26 21:48:42 +0100
commit35887e25eedecac6d018ce066f27cc583bc8ecb6 (patch)
tree93e95d94fc008e169b7760406f0efee7817dd6c9 /src/code/code_800F7260.c
parentd4a6b21d4662abbc831b76b6d2e29a9bccb15a2a (diff)
Minor Misc Cleanup 2 (#1422)
* misc cleanup * more cleanup * more cleanup * PR Suggestions * cleanup cond
Diffstat (limited to 'src/code/code_800F7260.c')
-rw-r--r--src/code/code_800F7260.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/code/code_800F7260.c b/src/code/code_800F7260.c
index f316798a5..4fa6b50a9 100644
--- a/src/code/code_800F7260.c
+++ b/src/code/code_800F7260.c
@@ -140,7 +140,7 @@ void Audio_RemoveMatchingSfxRequests(u8 aspect, SfxBankEntry* cmp) {
break;
}
if (remove) {
- req->sfxId = 0;
+ req->sfxId = NA_SE_NONE;
}
}
}
@@ -158,9 +158,11 @@ void Audio_ProcessSfxRequest(void) {
req = &sSfxRequests[gSfxRequestReadIndex];
evictIndex = 0x80;
- if (req->sfxId == 0) {
+
+ if (req->sfxId == NA_SE_NONE) {
return;
}
+
bankId = SFX_BANK(req->sfxId);
if ((1 << bankId) & D_801333F0) {
AudioDebug_ScrPrt("SE", req->sfxId);