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:
sudonim1 2010-04-06 21:14:15 +00:00
parent 6ae7408b8c
commit 81c2318fea
1 changed files with 3 additions and 3 deletions

View File

@ -526,7 +526,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
int tw = 1 << TEX0.TW;
int th = 1 << TEX0.TH;
int tp = (int)TEX0.TW << 6;
int tp = TEX0.TBW << 6;
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
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;
return NULL;