AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one
svn-id: r35707
This commit is contained in:
parent
ec631ba7f1
commit
efcfada33e
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue