Fixed slow fps

This commit is contained in:
KiritoDv
2025-05-15 22:43:52 -06:00
parent 8c81c2b141
commit d155bacadb
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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;
+3
View File
@@ -388,6 +388,9 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
wnd->SetMaximumFrameLatency(1);
}
RunCommands(commands, mtx_replacements);
last_fps = fps;
last_update_rate = 2;
}
// Audio