summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800EC960.c
diff options
context:
space:
mode:
authorDavid Racine <bass_dr@hotmail.com>2026-10-04 19:39:10 -0400
committerGitHub <noreply@github.com>2026-10-04 23:39:10 +0000
commit9308ba794023f6cf05fdbc1f2c1a8bd63a52e80d (patch)
treef3aeed614a1c18e61c5b33f9de7b6ddc31718940 /soh/src/code/code_800EC960.c
parent7459f6b90550e6466fdaf38b4c8aa78b7e4e2126 (diff)
Carry sound font ids in 16 bits (#7260)
Each streamed track brings its own sound font, so a pack with more than ~217 of them pushes font ids past 255. Stored in 8 bits they wrapped onto vanilla fonts or onto 0xFF, which reads as "no font": the track played vanilla instruments or nothing at all. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'soh/src/code/code_800EC960.c')
-rw-r--r--soh/src/code/code_800EC960.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/code_800EC960.c b/soh/src/code/code_800EC960.c
index 31fc49de4..a118f3388 100644
--- a/soh/src/code/code_800EC960.c
+++ b/soh/src/code/code_800EC960.c
@@ -5016,8 +5016,8 @@ void func_800F5C2C(void) {
void Audio_PlayFanfare(u16 seqId) {
u16 curSeqId;
u32 outNumFonts;
- u8* curFontId;
- u8* requestedFontId;
+ u16* curFontId;
+ u16* requestedFontId;
curSeqId = func_800FA0B4(SEQ_PLAYER_FANFARE);