Skip to content

Commit

Permalink
NFS3: Fix jittery mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePLMonster committed Sep 15, 2023
1 parent 3c5b1f8 commit b3eb9c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/SilentPatchNFS90s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,17 @@ void OnInitializeHook()
TXN_CATCH();


// NFS3: Fix jittery mouse
try
{
auto get_device_data = get_pattern("FF 51 28 85 C0 0F 84 ? ? ? ? 31 D2 8B 4D FC", 5 + 1);

// je -> jge
Patch<uint8_t>(get_device_data, 0x8D);
}
TXN_CATCH();


// NFS4: Fix jittery mouse
try
{
Expand Down

0 comments on commit b3eb9c6

Please sign in to comment.