From 57dc840d6140e4351e488730e199c5f7f2b331ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Mon, 12 Oct 2026 23:04:07 +0000 Subject: Audio editor: support setting track to None (#7372) --- soh/src/code/code_800F7260.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'soh/src/code') 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; -- cgit v1.2.3