mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGUI: Run one frame per loop for better performance.
Also, make sure to check messages before vsync. GSdx message loop runs per vsync.
This commit is contained in:
parent
0d6b9e9570
commit
317683461f
|
@ -315,9 +315,15 @@ namespace GSDumpGUI
|
|||
}
|
||||
else
|
||||
{
|
||||
GSData itm = dump.Data[gs_idx++];
|
||||
CurrentGIFPacket = itm;
|
||||
Step(itm, pointer);
|
||||
while (gs_idx < dump.Data.Count)
|
||||
{
|
||||
GSData itm = dump.Data[gs_idx++];
|
||||
CurrentGIFPacket = itm;
|
||||
Step(itm, pointer);
|
||||
|
||||
if (gs_idx < dump.Data.Count && dump.Data[gs_idx].id == GSType.VSync)
|
||||
break;
|
||||
}
|
||||
|
||||
if (gs_idx >= dump.Data.Count) gs_idx = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue