mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 20:21:06 +00:00
WINTERMUTE: Actually lock the framerate at 60fps.
This commit is contained in:
parent
127afbac8c
commit
c93a7c3921
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user