From a17aa054dc11396eba52ef99d96facb52c903937 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Sun, 22 Dec 2024 15:03:22 +0300 Subject: [PATCH] Decrease delta time error threshold. --- UnleashedRecomp/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/app.cpp b/UnleashedRecomp/app.cpp index 327e324e..d2cf3ac3 100644 --- a/UnleashedRecomp/app.cpp +++ b/UnleashedRecomp/app.cpp @@ -42,7 +42,7 @@ PPC_FUNC(sub_822C1130) if (Config::FPS >= 15 && Config::FPS < 240) { double targetDeltaTime = 1.0 / Config::FPS; - if (abs(ctx.f1.f64 - targetDeltaTime) < 0.001) + if (abs(ctx.f1.f64 - targetDeltaTime) < 0.00001) ctx.f1.f64 = targetDeltaTime; }