From 8a141449ab8d2e6afce377bb90513bf250de9bce Mon Sep 17 00:00:00 2001 From: Adrian Biedrzycki Date: Sat, 24 Feb 2018 08:00:58 -0800 Subject: [PATCH] Bugfix extern MixSoundBuffer size subscript --- third_party/libmodplug/src/snd_dsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/libmodplug/src/snd_dsp.cpp b/third_party/libmodplug/src/snd_dsp.cpp index ab5a305..3a2969d 100644 --- a/third_party/libmodplug/src/snd_dsp.cpp +++ b/third_party/libmodplug/src/snd_dsp.cpp @@ -99,7 +99,7 @@ static LONG DolbyHiFilterBuffer[FILTERBUFFERSIZE]; static LONG SurroundBuffer[SURROUNDBUFFERSIZE]; // Access the main temporary mix buffer directly: avoids an extra pointer -extern int MixSoundBuffer[MIXBUFFERSIZE*2]; +extern int MixSoundBuffer[MIXBUFFERSIZE*4]; //cextern int MixReverbBuffer[MIXBUFFERSIZE*2]; extern int MixReverbBuffer[MIXBUFFERSIZE*2];