zak256 partial sfx loops are working fine.

svn-id: r10032
This commit is contained in:
Travis Howell 2003-09-06 03:05:01 +00:00
parent 8b4668740e
commit ff05aeeb9e

View File

@ -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);
}