[Scummvm-cvs-logs] SF.net SVN: scummvm:[35707] scummvm/trunk/engines/agos/animation.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jan 3 17:24:27 CET 2009


Revision: 35707
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35707&view=rev
Author:   thebluegr
Date:     2009-01-03 16:24:27 +0000 (Sat, 03 Jan 2009)

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

Modified Paths:
--------------
    scummvm/trunk/engines/agos/animation.cpp

Modified: scummvm/trunk/engines/agos/animation.cpp
===================================================================
--- scummvm/trunk/engines/agos/animation.cpp	2009-01-03 16:24:10 UTC (rev 35706)
+++ scummvm/trunk/engines/agos/animation.cpp	2009-01-03 16:24:27 UTC (rev 35707)
@@ -425,8 +425,7 @@
 
 void MoviePlayerSMK::handleNextFrame() {
 	decodeNextFrame();
-	if (processFrame())
-		_vm->_system->updateScreen();
+	processFrame();
 
 	MoviePlayer::handleNextFrame();
 }
@@ -472,6 +471,9 @@
 		return false;
 	}
 
+	_vm->_system->updateScreen();
+
+	// Wait before showing the next frame
 	_vm->_system->delayMillis(waitTime);
 	return true;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list