aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/soundux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/soundux.cpp b/source/soundux.cpp
index d7d9011..0435476 100644
--- a/source/soundux.cpp
+++ b/source/soundux.cpp
@@ -898,7 +898,7 @@ void DecodeBlock (Channel *ch)
static inline void MixStereo_ReversedLoop (int sample_count)
{
int pitch_mod = SoundData.pitch_mod & ~APU.DSP[APU_NON];
- int32 VL[8], VR[8];
+ int32 VL[NUM_CHANNELS], VR[NUM_CHANNELS];
int32 PreviousChannelSample = 0;
for (uint32 I = 0; I < (uint32) sample_count; I += 2)