Skip to content

Commit

Permalink
fix: updated offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
andersblomqvist committed Sep 29, 2024
1 parent 3db5520 commit 1c8c38d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/AppForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void SetFPS()
return;

mem.WriteInteger(
mem.ReadInteger(0x01B907B0, 4) + 0xC,
mem.ReadInteger(0x01B90730, 4) + 0xC,
trackBarFPS.Value
);
}
Expand All @@ -103,7 +103,7 @@ private void SetFOV()
return;

mem.WriteFloat(
mem.ReadInteger(0x00AAC278, 4) + 0xC,
mem.ReadInteger(0x00AAC1F8, 4) + 0xC,
trackBarFOV.Value
);
}
Expand Down
7 changes: 7 additions & 0 deletions mw2-fps-unlocker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
</ItemGroup>

<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>

</Project>

0 comments on commit 1c8c38d

Please sign in to comment.