diff options
author | Nebuleon Fumika | 2013-01-26 20:16:02 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-26 20:16:02 -0500 |
commit | e473daf461ed5c32e9629f51bd1009a1270ec8db (patch) | |
tree | f74e4973be0e446502e118dd95a1343f9482b573 /source | |
parent | 365a69d72ebfc986a59d269359bf04f53a18a8e5 (diff) | |
download | snes9x2005-e473daf461ed5c32e9629f51bd1009a1270ec8db.tar.gz snes9x2005-e473daf461ed5c32e9629f51bd1009a1270ec8db.tar.bz2 snes9x2005-e473daf461ed5c32e9629f51bd1009a1270ec8db.zip |
8 is NUM_CHANNELS. (magic constant)
Diffstat (limited to 'source')
-rw-r--r-- | source/soundux.cpp | 2 |
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) |