summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800F7260.c
diff options
context:
space:
mode:
authorPhilip Dubé <159546+serprex@users.noreply.github.com>2026-10-12 23:04:07 +0000
committerGitHub <noreply@github.com>2026-10-12 23:04:07 +0000
commit57dc840d6140e4351e488730e199c5f7f2b331ee (patch)
tree071ed3e48fb09bab8bb890e746ea6bfe9f9e0c8f /soh/src/code/code_800F7260.c
parenta93fec263473b2b08ebb18590a8ef1a3fc25a775 (diff)
Audio editor: support setting track to None (#7372)
Diffstat (limited to 'soh/src/code/code_800F7260.c')
-rw-r--r--soh/src/code/code_800F7260.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/soh/src/code/code_800F7260.c b/soh/src/code/code_800F7260.c
index f06c13e66..4cd7ab55e 100644
--- a/soh/src/code/code_800F7260.c
+++ b/soh/src/code/code_800F7260.c
@@ -222,6 +222,9 @@ void Audio_ProcessSoundRequest(void) {
return;
}
u16 newSfxId = AudioEditor_GetReplacementSeq(req->sfxId);
+ if (newSfxId == NA_BGM_DISABLED) {
+ return;
+ }
if (req->sfxId != newSfxId) {
gAudioContext.seqReplaced[SEQ_PLAYER_SFX] = 1;
req->sfxId = newSfxId;