mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGui: Little things i forgot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4168 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5df7a65727
commit
e089cee4b9
|
@ -265,7 +265,7 @@ namespace GSDumpGUI
|
||||||
|
|
||||||
frmMain.treeGifPacketContent.Nodes[0].Nodes.Add(nodePrim);
|
frmMain.treeGifPacketContent.Nodes[0].Nodes.Add(nodePrim);
|
||||||
|
|
||||||
frmMain.treeGifPacketContent.Nodes[0].Nodes.Add("nreg = " + tag.nreg.ToString());
|
frmMain.treeGifPacketContent.Nodes[0].Nodes.Add("nreg = " + (tag.nreg == 0 ? (16).ToString() : tag.nreg.ToString()));
|
||||||
|
|
||||||
TreeNode nodeReg = new TreeNode("reg");
|
TreeNode nodeReg = new TreeNode("reg");
|
||||||
for (int j = 0; j < tag.regs.Count; j++)
|
for (int j = 0; j < tag.regs.Count; j++)
|
||||||
|
|
|
@ -397,7 +397,17 @@ namespace GSDumpGUI
|
||||||
internal object GetGifPacketInfo(GSDump dump, int i)
|
internal object GetGifPacketInfo(GSDump dump, int i)
|
||||||
{
|
{
|
||||||
if (dump.Data[i].id == GSType.Transfer)
|
if (dump.Data[i].id == GSType.Transfer)
|
||||||
return GIFTag.ExtractGifTag(dump.Data[i].data, ((GSTransfer)dump.Data[i]).Path);
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
GIFTag val = GIFTag.ExtractGifTag(dump.Data[i].data, ((GSTransfer)dump.Data[i]).Path);
|
||||||
|
return val;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
return new GIFTag();
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (dump.Data[i].id)
|
switch (dump.Data[i].id)
|
||||||
|
|
Loading…
Reference in New Issue