diff options
author | Paweł Kołodziejski | 2002-09-30 22:35:32 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-09-30 22:35:32 +0000 |
commit | 347b80100fc6b11206fabc09324c089ae6562076 (patch) | |
tree | a99d3bd3b9a3e47d67d59c8745e2e91b90e7baf6 | |
parent | 5d6498faef168d0b8eeafd1e0e945e220cc450cc (diff) | |
download | scummvm-rg350-347b80100fc6b11206fabc09324c089ae6562076.tar.gz scummvm-rg350-347b80100fc6b11206fabc09324c089ae6562076.tar.bz2 scummvm-rg350-347b80100fc6b11206fabc09324c089ae6562076.zip |
fixed loop in imuse
svn-id: r5055
-rw-r--r-- | scumm/imuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 5eaebba43f..819c8eb89a 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -4876,7 +4876,7 @@ void IMuseDigital::handler() { byte *buf = (byte*)malloc(_channel[l]._mixerSize); memcpy(buf, _channel[l]._data + _channel[l]._offset, new_size); if ((new_size != _channel[l]._mixerSize) && (_channel[l]._isLoop == true)) { - memcpy(buf, _channel[l]._data, _channel[l]._mixerSize - new_size); + memcpy(buf + new_size, _channel[l]._data, _channel[l]._mixerSize - new_size); } new_mixer = false; |