mirror of https://github.com/PCSX2/pcsx2.git
Forgot to reset the registers. My bad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4125 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
a8f1683392
commit
9be3624120
|
@ -184,7 +184,9 @@ namespace GSDumpGUI
|
|||
int lastVSyncField;
|
||||
|
||||
GSinit();
|
||||
fixed (byte* pointer = dump.Registers)
|
||||
byte[] tempregisters = new byte[8192];
|
||||
Array.Copy(dump.Registers, tempregisters, 8192);
|
||||
fixed (byte* pointer = tempregisters)
|
||||
{
|
||||
GSsetBaseMem(new IntPtr(pointer));
|
||||
Int32 HWND = 0;
|
||||
|
@ -269,12 +271,18 @@ namespace GSDumpGUI
|
|||
{
|
||||
RunTo = i;
|
||||
i = 0;
|
||||
|
||||
Marshal.Copy(dump.Registers, 0, new IntPtr(pointer), 8192);
|
||||
GSfreeze(0, new IntPtr(fr));
|
||||
}
|
||||
else
|
||||
if (Mess.MessageType == MessageType.RunToCursor)
|
||||
{
|
||||
RunTo = (int)Mess.Parameters[0];
|
||||
i = 0;
|
||||
|
||||
Marshal.Copy(dump.Registers, 0, new IntPtr(pointer), 8192);
|
||||
GSfreeze(0, new IntPtr(fr));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue