[Scummvm-cvs-logs] scummvm master -> c93a7c3921f27937bd4400ec2fb5fe90aad63c88

somaen einarjohan at somadalen.com
Sun Dec 16 23:45:28 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c93a7c3921 WINTERMUTE: Actually lock the framerate at 60fps.


Commit: c93a7c3921f27937bd4400ec2fb5fe90aad63c88
    https://github.com/scummvm/scummvm/commit/c93a7c3921f27937bd4400ec2fb5fe90aad63c88
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2012-12-16T14:38:09-08:00

Commit Message:
WINTERMUTE: Actually lock the framerate at 60fps.

Changed paths:
    engines/wintermute/wintermute.cpp



diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index c9726e1..d2b761a 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -230,7 +230,7 @@ int WintermuteEngine::messageLoop() {
 	uint32 diff = 0;
 
 	const uint32 maxFPS = 60;
-	const uint32 frameTime = (uint32)((1.0 / maxFPS) * 1000);
+	const uint32 frameTime = 2 * (uint32)((1.0 / maxFPS) * 1000);
 	while (!done) {
 		Common::Event event;
 		while (_system->getEventManager()->pollEvent(event)) {






More information about the Scummvm-git-logs mailing list