mirror of https://github.com/PCSX2/pcsx2.git
GSDx: made some nonsense code more obviously nonsense so that it might get fixed some day
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2817 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
6ae7408b8c
commit
81c2318fea
|
@ -526,7 +526,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
|
|
||||||
int tw = 1 << TEX0.TW;
|
int tw = 1 << TEX0.TW;
|
||||||
int th = 1 << TEX0.TH;
|
int th = 1 << TEX0.TH;
|
||||||
int tp = (int)TEX0.TW << 6;
|
int tp = TEX0.TBW << 6;
|
||||||
|
|
||||||
bool hack = false;
|
bool hack = false;
|
||||||
|
|
||||||
|
@ -625,11 +625,11 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
else if(tw < tp)
|
else if(tw < 1024)
|
||||||
{
|
{
|
||||||
// FIXME: timesplitters blurs the render target by blending itself over a couple of times
|
// FIXME: timesplitters blurs the render target by blending itself over a couple of times
|
||||||
hack = true;
|
hack = true;
|
||||||
if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
if(tw == 256 && th == 128 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
||||||
{
|
{
|
||||||
delete src;
|
delete src;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue