Skip to content
Snippets Groups Projects
Commit c1b164cb authored by Perttu Ahola's avatar Perttu Ahola
Browse files

added a delay to menu loop

parent fe02a19f
No related branches found
No related tags found
No related merge requests found
...@@ -1410,6 +1410,10 @@ int main(int argc, char *argv[]) ...@@ -1410,6 +1410,10 @@ int main(int argc, char *argv[])
guienv->drawAll(); guienv->drawAll();
driver->endScene(); driver->endScene();
// On some computers framerate doesn't seem to be
// automatically limited
sleep_ms(25);
} }
// Break out of menu-game loop to shut down cleanly // Break out of menu-game loop to shut down cleanly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment