diff --git a/tools/GSDumpGUI/Core/Program.cs b/tools/GSDumpGUI/Core/Program.cs index 051c10f6b8..b69d45a89c 100644 --- a/tools/GSDumpGUI/Core/Program.cs +++ b/tools/GSDumpGUI/Core/Program.cs @@ -265,7 +265,7 @@ namespace GSDumpGUI 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"); for (int j = 0; j < tag.regs.Count; j++) diff --git a/tools/GSDumpGUI/Library/GSDXWrapper.cs b/tools/GSDumpGUI/Library/GSDXWrapper.cs index 65f7c9a085..5820165dc5 100644 --- a/tools/GSDumpGUI/Library/GSDXWrapper.cs +++ b/tools/GSDumpGUI/Library/GSDXWrapper.cs @@ -397,7 +397,17 @@ namespace GSDumpGUI internal object GetGifPacketInfo(GSDump dump, int i) { 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 { switch (dump.Data[i].id)