- Unbreak Ratchet and Clank by re-enabling the broken pitch conversion.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2320 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-12-07 09:46:33 +00:00
parent 2baa81c997
commit bb309c8d65
2 changed files with 4 additions and 2 deletions

View File

@ -752,7 +752,7 @@ bool GSRenderer::IsLinear()
} }
// if FST => assume Q = 1.0f (should not, but Q is very often bogus, 0 or DEN) // if FST => assume Q = 1.0f (should not, but Q is very often bogus, 0 or DEN)
// Fixme : Why should Q be bogus? // Fixme : Why should Q be bogus?
if(!TEX1.LCM /*&& !PRIM->FST*/) if(!TEX1.LCM && !PRIM->FST)
{ {
float K = (float)TEX1.K / 16; float K = (float)TEX1.K / 16;
float f = (float)(1 << TEX1.L) / log(2.0f); float f = (float)(1 << TEX1.L) / log(2.0f);

View File

@ -563,7 +563,9 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
if(dst->m_TEX0.TBW != TEX0.TBW) // && dst->m_TEX0.PSM == TEX0.PSM if(dst->m_TEX0.TBW != TEX0.TBW) // && dst->m_TEX0.PSM == TEX0.PSM
{ {
//Better not do the code below, "fixes" like every game that ever gets here.. //Better not do the code below, "fixes" like every game that ever gets here..
delete src; return NULL; //Edit: Ratchet and Clank needs this to show most of it's graphics at all.
//Someone else fix this please, I can't :p
//delete src; return NULL;
// sfex3 uses this trick (bw: 10 -> 5, wraps the right side below the left) // sfex3 uses this trick (bw: 10 -> 5, wraps the right side below the left)