From 5ff93a9bad34301773659eb8724c471dd958055a Mon Sep 17 00:00:00 2001 From: GillianMC <70141395+SandeMC@users.noreply.github.com> Date: Sat, 2 Nov 2024 22:28:42 +0000 Subject: [PATCH] idk how but this breaks the loading text entirely --- source/frameratevigilante.ixx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/source/frameratevigilante.ixx b/source/frameratevigilante.ixx index d72347b3..4d5c23d3 100644 --- a/source/frameratevigilante.ixx +++ b/source/frameratevigilante.ixx @@ -51,20 +51,6 @@ public: }; injector::MakeInline(pattern.get_first(0), pattern.get_first(6)); } - pattern = find_pattern("F3 0F 10 05 ? ? ? ? F3 0F 58 C1 F3 0F 11 05 ? ? ? ? EB 36", "F3 0F 10 05 ? ? ? ? F3 0F 58 05 ? ? ? ? F3 0F 11 05 ? ? ? ? EB 30"); - if (!pattern.empty()) - { - static auto f1032790 = *pattern.get_first(4); - struct LoadingTextSpeed - { - void operator()(injector::reg_pack& regs) - { - regs.xmm0.f32[0] = *f1032790 * *CTimer::fTimeStep; - regs.xmm0.f32[0] += regs.xmm1.f32[0]; - } - }; injector::MakeInline(pattern.get_first(0), pattern.get_first(12)); - } - pattern = hook::pattern("F3 0F 58 0D ? ? ? ? 0F 5B C0 F3 0F 11 0D"); if (!pattern.empty()) { @@ -121,4 +107,4 @@ public: } }; } -} FramerateVigilante; \ No newline at end of file +} FramerateVigilante;