diff options
author | Filippos Karapetis | 2009-01-03 16:24:27 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-03 16:24:27 +0000 |
commit | efcfada33e3a7c7129a5c8d6a96cee9a815db8e8 (patch) | |
tree | 44d9c9f914463e3ee600230554fc0ae8c08fd938 /engines/agos | |
parent | ec631ba7f1cdeb8de4d247ac39cd4ccc4f24b078 (diff) | |
download | scummvm-rg350-efcfada33e3a7c7129a5c8d6a96cee9a815db8e8.tar.gz scummvm-rg350-efcfada33e3a7c7129a5c8d6a96cee9a815db8e8.tar.bz2 scummvm-rg350-efcfada33e3a7c7129a5c8d6a96cee9a815db8e8.zip |
AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one
svn-id: r35707
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/animation.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index e3ed7016f9..65f145ea34 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -425,8 +425,7 @@ void MoviePlayerSMK::startSound() { void MoviePlayerSMK::handleNextFrame() { decodeNextFrame(); - if (processFrame()) - _vm->_system->updateScreen(); + processFrame(); MoviePlayer::handleNextFrame(); } @@ -472,6 +471,9 @@ bool MoviePlayerSMK::processFrame() { return false; } + _vm->_system->updateScreen(); + + // Wait before showing the next frame _vm->_system->delayMillis(waitTime); return true; } |