diff options
| author | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-20 14:50:12 -0500 |
|---|---|---|
| committer | sitton76 <58642183+sitton76@users.noreply.github.com> | 2025-05-20 14:50:12 -0500 |
| commit | 1fee189805ea668b0b294bc70d8593bb87e044ae (patch) | |
| tree | 411a7a68dcc5663436a1c1e06ddf25ed06d96da8 /src/port/Engine.cpp | |
| parent | 2bbc496bf2f9e404244fbd84e9ba88f5eb9af521 (diff) | |
Set the default FPS to 30
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index cc7d0755d..c8734fab4 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -233,10 +233,10 @@ uint32_t GameEngine::GetInterpolationFPS() { } else if (CVarGetInteger("gVsyncEnabled", 1) || !Ship::Context::GetInstance()->GetWindow()->CanDisableVerticalSync()) { return std::min<uint32_t>(Ship::Context::GetInstance()->GetWindow()->GetCurrentRefreshRate(), - CVarGetInteger("gInterpolationFPS", 60)); + CVarGetInteger("gInterpolationFPS", 30)); } - return CVarGetInteger("gInterpolationFPS", 60); + return CVarGetInteger("gInterpolationFPS", 30); } uint32_t GameEngine::GetInterpolationFrameCount() @@ -360,7 +360,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) { int fps = target_fps; int original_fps = 60 / 2 /*gVIsPerFrame*/; - if (target_fps == 20 || original_fps > target_fps) { + if (target_fps == 30 || original_fps > target_fps) { fps = original_fps; } |
