mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
EMI: Fix pop at the end of SCX playback.
This commit is contained in:
parent
5e8d3dad0c
commit
685803cc83
@ -161,7 +161,7 @@ int SCXStream::readBuffer(int16 *buffer, const int numSamples) {
|
||||
// Now re-interleave the data
|
||||
int samplesDecoded = 0;
|
||||
int16 *leftSrc = leftSamples, *rightSrc = rightSamples;
|
||||
for (; samplesDecoded < numSamples; samplesDecoded += 2) {
|
||||
for (; samplesDecoded < samplesDecodedLeft * 2; samplesDecoded += 2) {
|
||||
*buffer++ = *leftSrc++;
|
||||
*buffer++ = *rightSrc++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user