Skip to content

Commit

Permalink
Update memory.cs
Browse files Browse the repository at this point in the history
Fixes #113
  • Loading branch information
erfg12 committed May 5, 2021
1 parent e801929 commit 2f349ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Memory/memory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ public long ReadLong(string code, string file = "")

theCode = GetCode(code, file);

if (ReadProcessMemory(pHandle, theCode, memory, (UIntPtr)16, IntPtr.Zero))
if (ReadProcessMemory(pHandle, theCode, memory, (UIntPtr)8, IntPtr.Zero))
return BitConverter.ToInt64(memory, 0);
else
return 0;
Expand Down

0 comments on commit 2f349ae

Please sign in to comment.