Removed useless IF. TEX0 is always plain format.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4144 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
feal87@gmail.com 2010-12-25 20:24:44 +00:00
parent ef55d3af7e
commit 1e2d305302
1 changed files with 15 additions and 20 deletions

View File

@ -20,8 +20,6 @@ namespace GSDumpGUI
public int CLD; public int CLD;
static public GIFReg Unpack(UInt64 LowData, UInt64 HighData, bool PlainFormat) static public GIFReg Unpack(UInt64 LowData, UInt64 HighData, bool PlainFormat)
{
if (PlainFormat)
{ {
GIFRegTEX0 r = new GIFRegTEX0(); GIFRegTEX0 r = new GIFRegTEX0();
r.Descriptor = GIFRegDescriptor.TEX0_1; r.Descriptor = GIFRegDescriptor.TEX0_1;
@ -39,9 +37,6 @@ namespace GSDumpGUI
r.CLD = (int)GetBit(LowData, 61, 3); r.CLD = (int)GetBit(LowData, 61, 3);
return r; return r;
} }
else
throw new ArgumentException("TEX0 Does not have packed format");
}
} }
public enum TEXPSM public enum TEXPSM