mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
ef55d3af7e
commit
1e2d305302
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue