From e92c3c5e5ab8b12f99f5a906927a59f61a26995d Mon Sep 17 00:00:00 2001 From: LTVA1 <87536432+LTVA1@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:00:05 +0300 Subject: [PATCH] Update sid3.h --- src/engine/platform/sound/sid3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/sound/sid3.h b/src/engine/platform/sound/sid3.h index d04416390..7454fd9f5 100644 --- a/src/engine/platform/sound/sid3.h +++ b/src/engine/platform/sound/sid3.h @@ -12,7 +12,8 @@ extern "C" { #define SID3_NUM_CHANNELS 7 #define SID3_NUM_FILTERS 4 -#define SID3_NUM_REGISTERS 256 +#define SID3_REGISTERS_PER_CHANNEL 32 +#define SID3_NUM_REGISTERS (SID3_NUM_CHANNELS * SID3_REGISTERS_PER_CHANNEL) #define SID3_MAX_VOL 255 #define SID3_WAVETABLE_LENGTH 256