Skip to content
Permalink
Browse files

GSDumpGUI: Fix unbalanced stack exception.

  • Loading branch information...
KrossX authored and lightningterror committed Jul 29, 2019
1 parent 3176834 commit b749c8ef7d25dad8462723b275cab88d29933bd2
Showing with 2 additions and 2 deletions.
  1. +1 −1 tools/GSDumpGUI/Library/GSDXWrapper.cs
  2. +1 −1 tools/GSDumpGUI/Library/NativeMethods.cs
@@ -215,7 +215,7 @@ public unsafe void Run(GSDump dump, int rendererOverride)

GSsetGameCRC(dump.CRC, 0);

NativeMethods.SetClassLong(hWnd,/*GCL_HICON*/ -14, Program.hMainIcon.ToInt32());
NativeMethods.SetClassLong(hWnd,/*GCL_HICON*/ -14, (uint)Program.hMainIcon.ToInt32());

fixed (byte* freeze = dump.StateData)
{
@@ -62,7 +62,7 @@ static public class NativeMethods

[SuppressUnmanagedCodeSecurityAttribute]
[DllImport("user32", CharSet = CharSet.Ansi)]
public extern static int SetClassLong(IntPtr HWND, int index, long newlong);
public extern static int SetClassLong(IntPtr HWND, int index, uint newlong);

[SuppressUnmanagedCodeSecurityAttribute]
[DllImport("user32", CharSet = CharSet.Ansi)]

0 comments on commit b749c8e

Please sign in to comment.
You can’t perform that action at this time.