[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,1.19,1.20
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Mon Sep 30 15:36:04 CEST 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv24854
Modified Files:
imuse.cpp
Log Message:
fixed loop in imuse
Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- imuse.cpp 30 Sep 2002 19:10:33 -0000 1.19
+++ imuse.cpp 30 Sep 2002 22:35:32 -0000 1.20
@@ -4876,7 +4876,7 @@
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;
More information about the Scummvm-git-logs
mailing list