From c93a7c3921f27937bd4400ec2fb5fe90aad63c88 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Sun, 16 Dec 2012 23:38:09 +0100 Subject: WINTERMUTE: Actually lock the framerate at 60fps. --- engines/wintermute/wintermute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute') diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index c9726e150a..d2b761afd7 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)) { -- cgit v1.2.3