diff options
author | Max Horn | 2003-12-09 23:01:36 +0000 |
---|---|---|
committer | Max Horn | 2003-12-09 23:01:36 +0000 |
commit | 8edcf3f1caf7dd40b2f89271ea4fcaf766896acd (patch) | |
tree | 33159308174d8d7ec558b300eb0047efab87a9fa /sound | |
parent | e6d176bc67ad78046ff345870e3c69a586252ee4 (diff) | |
download | scummvm-rg350-8edcf3f1caf7dd40b2f89271ea4fcaf766896acd.tar.gz scummvm-rg350-8edcf3f1caf7dd40b2f89271ea4fcaf766896acd.tar.bz2 scummvm-rg350-8edcf3f1caf7dd40b2f89271ea4fcaf766896acd.zip |
small tweak/fix (?)
svn-id: r11541
Diffstat (limited to 'sound')
-rw-r--r-- | sound/audiostream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp index 532a6d3a96..d9918df678 100644 --- a/sound/audiostream.cpp +++ b/sound/audiostream.cpp @@ -52,7 +52,7 @@ protected: //assert(_ptr < _end); int16 val = READSAMPLE(is16Bit, isUnsigned, _ptr); _ptr += (is16Bit ? 2 : 1); - if (_loopPtr && _ptr == _end) { + if (_loopPtr && eosIntern()) { _ptr = _loopPtr; _end = _loopEnd; } |