diff --git a/src/main.c b/src/main.c index 7b7e05cda..39eb51d84 100644 --- a/src/main.c +++ b/src/main.c @@ -647,7 +647,7 @@ void calculate_updaterate(void) { s32 total; // Get target FPS from configuration variable - s32 targetFPS = CVarGetInteger("gInterpolationFPS", 30); + s32 targetFPS = 30; if (targetFPS < 60) { targetFPS = 30; diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index debfad703..58e3920ea 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -388,6 +388,9 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) { wnd->SetMaximumFrameLatency(1); } RunCommands(commands, mtx_replacements); + + last_fps = fps; + last_update_rate = 2; } // Audio