From f214f58e605fd0fc10ca3b410215d15e44d76fa8 Mon Sep 17 00:00:00 2001 From: AMJ <69196954+ThisAMJ@users.noreply.github.com> Date: Fri, 4 Oct 2024 22:36:45 +1000 Subject: [PATCH] fix: tas back-compat unfortunately this makes loads slightly slower again :( --- src/Modules/Engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Modules/Engine.cpp b/src/Modules/Engine.cpp index 1cc49833..4d26eab8 100644 --- a/src/Modules/Engine.cpp +++ b/src/Modules/Engine.cpp @@ -719,10 +719,10 @@ void Host_AccumulateTime_Detour(float dt) { *host_frametime_unbounded = 0; } - // HACK: Force frametime to equal 2 ticks when loading + // HACK: Force frametime to equal a tick while loading // Limits host_timescale effect on load times, faster loads if (g_loadstate == LOADING && sar_loads_uncap.GetBool()) { - *host_frametime = *host_frametime_unbounded = 2.0f * engine->GetIPT(); + *host_frametime = *host_frametime_unbounded = engine->GetIPT(); } if (*host_frametime != *host_frametime_unbounded) {