diff --git a/tools/GSDumpGUI/Library/GSDXWrapper.cs b/tools/GSDumpGUI/Library/GSDXWrapper.cs index bbcc7671ee..b7e17af236 100644 --- a/tools/GSDumpGUI/Library/GSDXWrapper.cs +++ b/tools/GSDumpGUI/Library/GSDXWrapper.cs @@ -415,7 +415,7 @@ namespace GSDumpGUI val += "regs~"; foreach (var itm in tag.regs) { - val += ((GIFReg)itm).ToString() + "~"; + val += itm.ToString() + "~"; } break; case GSType.VSync: diff --git a/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/GifImage.cs b/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/GifImage.cs index 2e69c6e7ed..174deb0176 100644 --- a/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/GifImage.cs +++ b/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/GifImage.cs @@ -7,5 +7,10 @@ namespace GSDumpGUI public class GifImage : IGifData { public byte[] Data; + + public override string ToString() + { + return "IMAGE@" + Data.Length.ToString() + " bytes"; + } } } diff --git a/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/IGifData.cs b/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/IGifData.cs index 5ab73763f3..dc903ea442 100644 --- a/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/IGifData.cs +++ b/tools/GSDumpGUI/Library/GSDump/GSData/GIFPacket/GIFReg/IGifData.cs @@ -6,5 +6,6 @@ namespace GSDumpGUI { public interface IGifData { + String ToString(); } }