mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Adjust Spartan crc hack, add missing crc id. (#2510)
Adjust Spartan crc hack: Combine/ease the hacks in to one. Only remove the glow/yellow bloom effect and don't skip any other effects that shouldn't be skipped. UI and some other post processing effects work properly now. Add crc id CrashBandicootWoC RU.
This commit is contained in:
parent
6d1d32cd83
commit
d09737dbb5
|
@ -173,6 +173,7 @@ CRC::Game CRC::m_games[] =
|
|||
{0x103B5706, CrashBandicootWoC, US, 0}, // American Greatest Hits release
|
||||
{0x75182BE5, CrashBandicootWoC, US, 0},
|
||||
{0x5188ABCA, CrashBandicootWoC, US, 0},
|
||||
{0x34E2EEC7, CrashBandicootWoC, RU, 0},
|
||||
{0x3A03D62F, CrashBandicootWoC, EU, 0},
|
||||
{0x013E349D, ResidentEvil4, US, 0},
|
||||
{0xDBB7A559, ResidentEvil4, US, 0},
|
||||
|
|
|
@ -245,16 +245,6 @@ bool GSC_SacredBlaze(const GSFrameInfo& fi, int& skip)
|
|||
bool GSC_Spartan(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(g_crc_region == CRC::EU &&fi.TME && fi.FBP == 0x02000 && fi.FPSM == PSM_PSMCT32 && fi.TBP0 == 0x00000 && fi.TPSM == PSM_PSMCT32)
|
||||
{
|
||||
skip = 107;
|
||||
}
|
||||
if(g_crc_region == CRC::JP && fi.TME && fi.FBP == 0x02180 && fi.FPSM == PSM_PSMCT32 && fi.TBP0 == 0x2180 && fi.TPSM == PSM_PSMCT32)
|
||||
{
|
||||
skip = 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(fi.TME)
|
||||
{
|
||||
|
@ -263,8 +253,7 @@ bool GSC_Spartan(const GSFrameInfo& fi, int& skip)
|
|||
// General, often problematic post processing
|
||||
(GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)) )
|
||||
{
|
||||
skip = 1;
|
||||
}
|
||||
skip = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue