mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-09 06:54:01 -04:00
Fixed slow fps
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -388,6 +388,9 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
|
||||
wnd->SetMaximumFrameLatency(1);
|
||||
}
|
||||
RunCommands(commands, mtx_replacements);
|
||||
|
||||
last_fps = fps;
|
||||
last_update_rate = 2;
|
||||
}
|
||||
|
||||
// Audio
|
||||
|
||||
Reference in New Issue
Block a user