diff options
author | Matthew Hoops | 2011-10-28 01:32:23 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-28 01:32:23 -0400 |
commit | 0ec655f410a0b0ed485f7e6235b8054e97891fd8 (patch) | |
tree | 051be607c9282dc0dbfba580ac9938e84f803352 /engines/pegasus | |
parent | 3f69c195ae5824a7f3037add447cca40e8827e6c (diff) | |
download | scummvm-rg350-0ec655f410a0b0ed485f7e6235b8054e97891fd8.tar.gz scummvm-rg350-0ec655f410a0b0ed485f7e6235b8054e97891fd8.tar.bz2 scummvm-rg350-0ec655f410a0b0ed485f7e6235b8054e97891fd8.zip |
PEGASUS: Fix timers not updating in playSpotSoundSync
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/neighborhood/neighborhood.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/neighborhood.cpp b/engines/pegasus/neighborhood/neighborhood.cpp index fb95b07aef..36ae4860b5 100644 --- a/engines/pegasus/neighborhood/neighborhood.cpp +++ b/engines/pegasus/neighborhood/neighborhood.cpp @@ -473,6 +473,7 @@ void Neighborhood::requestSpotSound(const TimeValue in, const TimeValue out, con void Neighborhood::playSpotSoundSync(const TimeValue in, const TimeValue out) { // Let the action queue play out first... while (!actionQueueEmpty()) { + _vm->checkCallBacks(); _vm->refreshDisplay(); _vm->checkNotifications(); _vm->_system->delayMillis(10); @@ -482,6 +483,7 @@ void Neighborhood::playSpotSoundSync(const TimeValue in, const TimeValue out) { _spotSounds.playSoundSegment(in, out); while (_spotSounds.isPlaying()) { + _vm->checkCallBacks(); _vm->refreshDisplay(); _vm->_system->delayMillis(10); } |