mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGUI: Fix unbalanced stack exception.
This commit is contained in:
parent
317683461f
commit
b749c8ef7d
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)]
|
||||||
|
|
Loading…
Reference in New Issue