mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Don't wait for the lead-out sound to finish when playing the "shaman"
cutscene, as it's obviously meant to blend in with the rest of the game. svn-id: r17791
This commit is contained in:
parent
59f6002b03
commit
4cdcb0b049
@ -207,10 +207,15 @@ int32 MoviePlayer::play(const char *filename, MovieTextObject *text[], int32 lea
|
||||
|
||||
_snd->stopHandle(leadInHandle);
|
||||
|
||||
// Wait for the lead-out to stop, if there is any.
|
||||
while (_vm->_mixer->isSoundHandleActive(_leadOutHandle)) {
|
||||
_vm->_screen->updateDisplay();
|
||||
_vm->_system->delayMillis(30);
|
||||
// Wait for the lead-out to stop, if there is any. Though don't do it
|
||||
// for the "shaman" cutscene as it's obviously meant to blend into the
|
||||
// rest of the game, and the lead-out goes on for a long time.
|
||||
|
||||
if (scumm_stricmp(filename, "shaman") != 0) {
|
||||
while (_vm->_mixer->isSoundHandleActive(_leadOutHandle)) {
|
||||
_vm->_screen->updateDisplay();
|
||||
_vm->_system->delayMillis(30);
|
||||
}
|
||||
}
|
||||
|
||||
if (leadInRes)
|
||||
|
Loading…
Reference in New Issue
Block a user