summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpodi <spodi2290@aol.com>2025-03-24 00:56:41 +0100
committerGitHub <noreply@github.com>2025-03-23 19:56:41 -0400
commita6ba773f94cd8e707ae14a83637d6d848ef8f72d (patch)
treea766ee652d3633cfcfaa6c8f894f2f521f9db81a
parented4bd707644aa250a745bd4756491dab63df39dc (diff)
Remove jitter fix slider (#1079)
LUS defaults to always on now. And this option was confusing for most users.
-rw-r--r--mm/2s2h/BenGui/BenMenu.cpp11
-rw-r--r--mm/2s2h/BenPort.cpp3
2 files changed, 0 insertions, 14 deletions
diff --git a/mm/2s2h/BenGui/BenMenu.cpp b/mm/2s2h/BenGui/BenMenu.cpp
index 5b1d38177..2bd735a5c 100644
--- a/mm/2s2h/BenGui/BenMenu.cpp
+++ b/mm/2s2h/BenGui/BenMenu.cpp
@@ -311,17 +311,6 @@ void BenMenu::AddSettings() {
.CVar("gMatchRefreshRate")
.PreFunc([](WidgetInfo& info) { info.isHidden = mBenMenu->disabledMap.at(DISABLE_FOR_DIRECTX).active; })
.Options(CheckboxOptions().Tooltip("Matches interpolation value to the current game's window refresh rate."));
- AddWidget(path, "Jitter fix : >= % d FPS", WIDGET_CVAR_SLIDER_INT)
- .CVar("gExtraLatencyThreshold")
- .PreFunc([](WidgetInfo& info) { info.isHidden = mBenMenu->disabledMap.at(DISABLE_FOR_NOT_DIRECTX).active; })
- .Options(IntSliderOptions()
- .Tooltip("When Interpolation FPS setting is at least this threshold, add one frame of input "
- "lag (e.g. 16.6 ms for 60 FPS) in order to avoid jitter. This setting allows the "
- "CPU to work on one frame while GPU works on the previous frame.\nThis setting "
- "should be used when your computer is too slow to do CPU + GPU work in time.")
- .Min(0)
- .Max(360)
- .DefaultValue(80));
AddWidget(path, "Renderer API (Needs reload)", WIDGET_VIDEO_BACKEND);
AddWidget(path, "Enable Vsync", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_VSYNC_ENABLED)
diff --git a/mm/2s2h/BenPort.cpp b/mm/2s2h/BenPort.cpp
index 5c8dc2e74..8ee1e86b8 100644
--- a/mm/2s2h/BenPort.cpp
+++ b/mm/2s2h/BenPort.cpp
@@ -972,11 +972,8 @@ extern "C" void Graph_ProcessGfxCommands(Gfx* commands) {
time -= fps;
- int threshold = CVarGetInteger("gExtraLatencyThreshold", 80);
-
if (wnd != nullptr) {
wnd->SetTargetFps(fps);
- wnd->SetMaximumFrameLatency(threshold > 0 && target_fps >= threshold ? 2 : 1);
}
// When the gfx debugger is active, only run with the final mtx