Skip to content

Commit

Permalink
GSDumpGUI: Fix unbalanced stack exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
KrossX authored and lightningterror committed Aug 7, 2019
1 parent 3176834 commit b749c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/GSDumpGUI/Library/GSDXWrapper.cs
Expand Up @@ -215,7 +215,7 @@ public unsafe void Run(GSDump dump, int rendererOverride)


GSsetGameCRC(dump.CRC, 0); 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) fixed (byte* freeze = dump.StateData)
{ {
Expand Down
2 changes: 1 addition & 1 deletion tools/GSDumpGUI/Library/NativeMethods.cs
Expand Up @@ -62,7 +62,7 @@ static public class NativeMethods


[SuppressUnmanagedCodeSecurityAttribute] [SuppressUnmanagedCodeSecurityAttribute]
[DllImport("user32", CharSet = CharSet.Ansi)] [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] [SuppressUnmanagedCodeSecurityAttribute]
[DllImport("user32", CharSet = CharSet.Ansi)] [DllImport("user32", CharSet = CharSet.Ansi)]
Expand Down

0 comments on commit b749c8e

Please sign in to comment.