GSDumpGUI: create the vsync packet just once.

This commit is contained in:
KrossX 2019-07-28 22:40:18 -03:00 committed by lightningterror
parent 003046c91c
commit b245b06959
1 changed files with 4 additions and 4 deletions

View File

@ -238,6 +238,9 @@ namespace GSDumpGUI
GSsetBaseMem(new IntPtr(pointer));
GSfreeze(0, new IntPtr(fr));
GSData gsd_vsync = new GSData();
gsd_vsync.id = GSType.VSync;
int gs_idx = 0;
int debug_idx = 0;
NativeMessage msg;
@ -308,10 +311,7 @@ namespace GSDumpGUI
ExternalEvent.Set();
}
GSData g = new GSData();
g.id = GSType.VSync;
Step(g, pointer);
Step(gsd_vsync, pointer);
}
else
{