AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one

svn-id: r35707
This commit is contained in:
Filippos Karapetis 2009-01-03 16:24:27 +00:00
parent ec631ba7f1
commit efcfada33e

View file

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