[Scummvm-cvs-logs] CVS: scummvm/sound audiostream.cpp,1.40,1.41
Max Horn
fingolfin at users.sourceforge.net
Tue Dec 9 15:02:04 CET 2003
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv9909
Modified Files:
audiostream.cpp
Log Message:
small tweak/fix (?)
Index: audiostream.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/audiostream.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- audiostream.cpp 8 Nov 2003 23:05:04 -0000 1.40
+++ audiostream.cpp 9 Dec 2003 23:01:36 -0000 1.41
@@ -52,7 +52,7 @@
//assert(_ptr < _end);
int16 val = READSAMPLE(is16Bit, isUnsigned, _ptr);
_ptr += (is16Bit ? 2 : 1);
- if (_loopPtr && _ptr == _end) {
+ if (_loopPtr && eosIntern()) {
_ptr = _loopPtr;
_end = _loopEnd;
}
More information about the Scummvm-git-logs
mailing list