aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-12-16 23:38:09 +0100
committerEinar Johan Trøan Sømåen2012-12-16 23:38:09 +0100
commitc93a7c3921f27937bd4400ec2fb5fe90aad63c88 (patch)
treed53c8605bf12b6e8700fc41eea75e712a0051741 /engines/wintermute
parent127afbac8cffea5b0f0e5100de2d3bc28a8736ba (diff)
downloadscummvm-rg350-c93a7c3921f27937bd4400ec2fb5fe90aad63c88.tar.gz
scummvm-rg350-c93a7c3921f27937bd4400ec2fb5fe90aad63c88.tar.bz2
scummvm-rg350-c93a7c3921f27937bd4400ec2fb5fe90aad63c88.zip
WINTERMUTE: Actually lock the framerate at 60fps.
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/wintermute.cpp2
1 files changed, 1 insertions, 1 deletions
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)) {