diff --git a/SRB2-Emblem-Displayer/Project1/Program.cs b/SRB2-Emblem-Displayer/Project1/Program.cs index 9bf5790..d91dee3 100644 --- a/SRB2-Emblem-Displayer/Project1/Program.cs +++ b/SRB2-Emblem-Displayer/Project1/Program.cs @@ -380,8 +380,8 @@ static void Analyze_file(string fileName, string outputName) byte[] maxEmblemsBuffer = new byte[4]; byte[] maxExtraBuffer = new byte[4]; - ReadProcessMemory(gameProc.Handle, totalExtraEmblemsAddress, maxEmblemsBuffer, 1, IntPtr.Zero); - ReadProcessMemory(gameProc.Handle, totalEmblemsAddress, maxExtraBuffer, 1, IntPtr.Zero); + ReadProcessMemory(gameProc.Handle, totalEmblemsAddress, maxEmblemsBuffer, 1, IntPtr.Zero); + ReadProcessMemory(gameProc.Handle, totalExtraEmblemsAddress, maxExtraBuffer, 1, IntPtr.Zero); int maxEmblems = BitConverter.ToInt32(maxEmblemsBuffer, 0); int maxExtra = BitConverter.ToInt32(maxExtraBuffer, 0);