Little fixes. Time to read some manual...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4136 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
feal87@gmail.com 2010-12-24 17:32:28 +00:00
parent 8b1134a2e5
commit 67291f2fa1
1 changed files with 1 additions and 23 deletions

View File

@ -396,28 +396,6 @@ namespace GSDumpGUI
internal String GetGifPacketInfo(GSDump dump, int i) internal String GetGifPacketInfo(GSDump dump, int i)
{ {
int nloop = 0;
for (int j = 0; j <= i; j++)
{
if (nloop != 0 && j==i)
return "No Data Available";
if (nloop != 0)
{
nloop--;
}
else
{
switch (dump.Data[i].id)
{
case GSType.Transfer:
GIFTag tag = ExtractGifTag(dump.Data[j].data);
if (tag.nloop != 0)
nloop = tag.nloop;
break;
}
}
}
string val = dump.Data[i].data.Length.ToString() + "|"; string val = dump.Data[i].data.Length.ToString() + "|";
switch (dump.Data[i].id) switch (dump.Data[i].id)
@ -434,7 +412,7 @@ namespace GSDumpGUI
val += "prim~Prim Class = " + ((GS_PRIM)tag.prim.Prim).ToString() + "~IIP = " + tag.prim.IIP + "~TME = "+ tag.prim.TME + "~FGE = "+ tag.prim.FGE + "~ABE = "+ val += "prim~Prim Class = " + ((GS_PRIM)tag.prim.Prim).ToString() + "~IIP = " + tag.prim.IIP + "~TME = "+ tag.prim.TME + "~FGE = "+ tag.prim.FGE + "~ABE = "+
tag.prim.ABE + "~AA1 = "+ tag.prim.AA1 + "~FST = "+ tag.prim.FST + "~CTXT = " + tag.prim.CTXT + "~FIX = " + tag.prim.FIX + "|"; tag.prim.ABE + "~AA1 = "+ tag.prim.AA1 + "~FST = "+ tag.prim.FST + "~CTXT = " + tag.prim.CTXT + "~FIX = " + tag.prim.FIX + "|";
val += "nreg = " + tag.nreg + "|"; val += "nreg = " + tag.nreg + "|";
val += "regs = " + tag.regs; val += "regs = " + (tag.regs == 0 ? 16 : tag.regs);
break; break;
case GSType.VSync: case GSType.VSync:
val += "Field = " + dump.Data[i].data[0].ToString(); val += "Field = " + dump.Data[i].data[0].ToString();