diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-02-26 15:48:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-26 21:48:42 +0100 |
| commit | 35887e25eedecac6d018ce066f27cc583bc8ecb6 (patch) | |
| tree | 93e95d94fc008e169b7760406f0efee7817dd6c9 /src/code/code_800F7260.c | |
| parent | d4a6b21d4662abbc831b76b6d2e29a9bccb15a2a (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.c | 6 |
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); |
