- The earlier FFX fix killed fmv in Xenosaga 2. Hacked up a bit more now! :p
- Few more CRC (Note: I will look at GoW 2 once I have time and dumps, not before!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2660 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-03-02 17:30:03 +00:00
parent db616b0690
commit ad62866bcb
2 changed files with 6 additions and 1 deletions

View File

@ -144,6 +144,8 @@ CRC::Game CRC::m_games[] =
{0x4C7BB3C8, SimpsonsGame, Unknown, 0}, {0x4C7BB3C8, SimpsonsGame, Unknown, 0},
{0x4C94B32C, SimpsonsGame, Unknown, 0}, {0x4C94B32C, SimpsonsGame, Unknown, 0},
{0xD71B57F4, Genji, Unknown, 0}, {0xD71B57F4, Genji, Unknown, 0},
{0x23A97857, StarOcean3, US, 0},
{0xBEC32D49, StarOcean3, JP, 0},
{0x23A97857, StarOcean3, JPUNDUB, 0}, {0x23A97857, StarOcean3, JPUNDUB, 0},
{0xCC96CE93, ValkyrieProfile2, US, 0}, {0xCC96CE93, ValkyrieProfile2, US, 0},
{0x774DE8E2, ValkyrieProfile2, JP, 0}, {0x774DE8E2, ValkyrieProfile2, JP, 0},

View File

@ -444,8 +444,11 @@ void GSTextureCache::InvalidateLocalMem(const GSOffset* o, const GSVector4i& r)
} }
} }
if(GSUtil::HasSharedBits(psm, t->m_TEX0.PSM) && bp > t->m_TEX0.TBP0) // Grandia3, FFX, FFX-2 pause menus. t->m_TEX0.TBP0 magic number checks because otherwise kills xs2 videos
if( (GSUtil::HasSharedBits(psm, t->m_TEX0.PSM) && (bp > t->m_TEX0.TBP0) )
&& ((t->m_TEX0.TBP0 == 0) || (t->m_TEX0.TBP0==3328) || (t->m_TEX0.TBP0==3584) ))
{ {
//printf("first : %d-%d child : %d-%d\n", psm, bp, t->m_TEX0.PSM, t->m_TEX0.TBP0);
uint32 rowsize = bw * 8192; uint32 rowsize = bw * 8192;
uint32 offset = (uint32)((bp - t->m_TEX0.TBP0) * 256); uint32 offset = (uint32)((bp - t->m_TEX0.TBP0) * 256);