diff options
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index dac94c496d..3333c3faa1 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -459,14 +459,14 @@ void Sound::playSound(int soundID) { // Some very basic sound effects support if (READ_BE_UINT16(ptr + 14) == 0x0880) { size = READ_BE_UINT16(ptr + 6); - // Not sure if this is correct start point int start = READ_BE_UINT16(ptr + 8); + start +=10; rate = 11000; sound = (char *)malloc(size); memcpy(sound,ptr + start,size); // Experimental sound looping support - if (start == 98 | start == 96) + if (start == 108 | start == 106) _scumm->_mixer->playRaw(NULL, sound, size, rate, SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_LOOP, 127, 0, soundID, start,size); |