diff options
author | Travis Howell | 2003-09-06 03:05:01 +0000 |
---|---|---|
committer | Travis Howell | 2003-09-06 03:05:01 +0000 |
commit | ff05aeeb9e5d72c83234e5862cf3106cfadc8eee (patch) | |
tree | 5d217b9352b48222d315fa32a69c374503305f99 /scumm | |
parent | 8b4668740e6988cc597da6dec4ed2bf22df926bd (diff) | |
download | scummvm-rg350-ff05aeeb9e5d72c83234e5862cf3106cfadc8eee.tar.gz scummvm-rg350-ff05aeeb9e5d72c83234e5862cf3106cfadc8eee.tar.bz2 scummvm-rg350-ff05aeeb9e5d72c83234e5862cf3106cfadc8eee.zip |
zak256 partial sfx loops are working fine.
svn-id: r10032
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index f886171416..ca8ed4303f 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -353,13 +353,8 @@ void Sound::playSound(int soundID) { } size -= waveSize; - if (loopEnd > 0) { + if (loopEnd > 0) flags |= SoundMixer::FLAG_LOOP; - if ((loopEnd < waveSize) || (loopStart > 0)) { - // FIXME: Test partial loops - warning("Partial loops now are implemented. Loop at 0x%X thru 0x%X - does it sound right?", loopStart, loopEnd); - } - } _scumm->_mixer->playRaw(NULL, sound, waveSize, rate, flags, soundID, 255, 0, loopStart, loopEnd); } |