From dc6fdbcf69f6c7e82d96e48152641a0950ca108f Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Fri, 7 Jun 2024 19:12:48 -0300 Subject: [PATCH] fix gcc --- include/sf64audio_provisional.h | 2 +- src/audio/audio_synthesis.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sf64audio_provisional.h b/include/sf64audio_provisional.h index 6e463203..631895b5 100644 --- a/include/sf64audio_provisional.h +++ b/include/sf64audio_provisional.h @@ -1187,7 +1187,7 @@ extern u16 gHaasEffectDelaySizes[64]; extern EnvelopePoint gDefaultEnvelope[]; extern NoteSubEu gZeroNoteSub; extern NoteSubEu gDefaultNoteSub; -extern s16 D_800DD200[]; +extern s16 gD_800DD200[]; extern f32 gHeadsetPanVolume[128]; extern f32 gStereoPanVolume[128]; extern f32 gDefaultPanVolume[128]; diff --git a/src/audio/audio_synthesis.c b/src/audio/audio_synthesis.c index 93b9ad60..9f7db3bc 100644 --- a/src/audio/audio_synthesis.c +++ b/src/audio/audio_synthesis.c @@ -916,10 +916,10 @@ Acmd* func_8000A700(s32 noteIndex, NoteSubEu* noteSub, NoteSynthesisState* synth if ((bookSample->codec == 0) && (currentBook != bookSample->book->book)) { switch (noteSub->bitField1.bookOffset) { case 1: - currentBook = &D_800DD200[1]; + currentBook = &gD_800DD200[1]; break; case 2: - currentBook = &D_800DD200[2]; + currentBook = &gD_800DD200[2]; break; default: case 3: