GSDumpGUI: Fix unbalanced stack exception.

This commit is contained in:
KrossX 2019-07-29 10:27:40 -03:00 committed by lightningterror
parent 317683461f
commit b749c8ef7d
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ namespace GSDumpGUI
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)
{ {

View File

@ -62,7 +62,7 @@ namespace GSDumpGUI
[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)]