diff options
author | Nebuleon Fumika | 2013-01-26 19:19:18 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-26 19:19:18 -0500 |
commit | 6e69c6201b3072acdf111f3fd268b640fde58326 (patch) | |
tree | 97bc585962a20316fddf9b0163b26107e2abe54f /source | |
parent | f2f7ef3fe9ac8333b1db09b023dac191ed4736fb (diff) | |
download | snesemu-6e69c6201b3072acdf111f3fd268b640fde58326.tar.gz snesemu-6e69c6201b3072acdf111f3fd268b640fde58326.tar.bz2 snesemu-6e69c6201b3072acdf111f3fd268b640fde58326.zip |
Fix uninitialised memory access in pitch modulation.
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 1c05e77..d7d9011 100644 --- a/source/soundux.cpp +++ b/source/soundux.cpp @@ -899,7 +899,7 @@ static inline void MixStereo_ReversedLoop (int sample_count) { int pitch_mod = SoundData.pitch_mod & ~APU.DSP[APU_NON]; int32 VL[8], VR[8]; - int32 PreviousChannelSample; + int32 PreviousChannelSample = 0; for (uint32 I = 0; I < (uint32) sample_count; I += 2) { |