mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGUI: create the vsync packet just once.
This commit is contained in:
parent
003046c91c
commit
b245b06959
|
@ -238,6 +238,9 @@ namespace GSDumpGUI
|
||||||
GSsetBaseMem(new IntPtr(pointer));
|
GSsetBaseMem(new IntPtr(pointer));
|
||||||
GSfreeze(0, new IntPtr(fr));
|
GSfreeze(0, new IntPtr(fr));
|
||||||
|
|
||||||
|
GSData gsd_vsync = new GSData();
|
||||||
|
gsd_vsync.id = GSType.VSync;
|
||||||
|
|
||||||
int gs_idx = 0;
|
int gs_idx = 0;
|
||||||
int debug_idx = 0;
|
int debug_idx = 0;
|
||||||
NativeMessage msg;
|
NativeMessage msg;
|
||||||
|
@ -308,10 +311,7 @@ namespace GSDumpGUI
|
||||||
ExternalEvent.Set();
|
ExternalEvent.Set();
|
||||||
}
|
}
|
||||||
|
|
||||||
GSData g = new GSData();
|
Step(gsd_vsync, pointer);
|
||||||
g.id = GSType.VSync;
|
|
||||||
Step(g, pointer);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue