Ticket #8303: audiostream.patch

File audiostream.patch, 550 bytes (added by fingolfin, 16 years ago)

Small tweak to audiostream.cpp

  • audiostream.cpp

    RCS file: /cvsroot/scummvm/scummvm/sound/audiostream.cpp,v
    retrieving revision 1.40
    diff -u -d -r1.40 audiostream.cpp
     
    5252                //assert(_ptr < _end);
    5353                int16 val = READSAMPLE(is16Bit, isUnsigned, _ptr);
    5454                _ptr += (is16Bit ? 2 : 1);
    55                 if (_loopPtr && _ptr == _end) {
     55                if (_loopPtr && eosIntern()) {
    5656                        _ptr = _loopPtr;
    5757                        _end = _loopEnd;
    5858                }