From 1c8c38dcc8704405abb82e407d10b36ee90b9498 Mon Sep 17 00:00:00 2001 From: Anders Blomqvist Date: Sun, 29 Sep 2024 16:16:21 +0200 Subject: [PATCH] fix: updated offsets --- App/AppForm.cs | 4 ++-- mw2-fps-unlocker.csproj | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/App/AppForm.cs b/App/AppForm.cs index e016f09..4dc3eb8 100644 --- a/App/AppForm.cs +++ b/App/AppForm.cs @@ -93,7 +93,7 @@ private void SetFPS() return; mem.WriteInteger( - mem.ReadInteger(0x01B907B0, 4) + 0xC, + mem.ReadInteger(0x01B90730, 4) + 0xC, trackBarFPS.Value ); } @@ -103,7 +103,7 @@ private void SetFOV() return; mem.WriteFloat( - mem.ReadInteger(0x00AAC278, 4) + 0xC, + mem.ReadInteger(0x00AAC1F8, 4) + 0xC, trackBarFOV.Value ); } diff --git a/mw2-fps-unlocker.csproj b/mw2-fps-unlocker.csproj index 818098f..3c85b39 100644 --- a/mw2-fps-unlocker.csproj +++ b/mw2-fps-unlocker.csproj @@ -23,4 +23,11 @@ + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + \ No newline at end of file