mirror of https://github.com/PCSX2/pcsx2.git
gsdump: initial implem of standard replay mode done
This commit is contained in:
parent
20d825b054
commit
7c0fc3b777
|
@ -239,6 +239,7 @@ void Dialogs::GSDumpDialog::RunDump(wxCommandEvent& event)
|
||||||
GSsetBaseMem((void*)regs);
|
GSsetBaseMem((void*)regs);
|
||||||
GSfreeze(0, &fd);
|
GSfreeze(0, &fd);
|
||||||
|
|
||||||
|
size_t i = 0;
|
||||||
|
|
||||||
while (0!=1)
|
while (0!=1)
|
||||||
{
|
{
|
||||||
|
@ -249,20 +250,15 @@ void Dialogs::GSDumpDialog::RunDump(wxCommandEvent& event)
|
||||||
|
|
||||||
/* if DebugMode handle buttons, else:*/
|
/* if DebugMode handle buttons, else:*/
|
||||||
|
|
||||||
/*
|
while (i < dump.size())
|
||||||
while (gs_idx < dump.Data.Count)
|
{
|
||||||
{
|
ProcessDumpEvent(dump[i++], regs);
|
||||||
GSData itm = dump.Data[gs_idx++];
|
|
||||||
CurrentGIFPacket = itm;
|
|
||||||
Step(itm, pointer);
|
|
||||||
|
|
||||||
if (gs_idx < dump.Data.Count && dump.Data[gs_idx].id == GSType.VSync)
|
if (dump[i].id == VSync)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (i >= dump.size())
|
||||||
gs_idx = 0;
|
i = 0;
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GSclose();
|
GSclose();
|
||||||
|
|
Loading…
Reference in New Issue