gsdx-hw: Re add GSC_RedDeadRevolver crc hack that only skipped blur effects to aggressive mode only.

Previous commit for reference:

548d6b31bf
This commit is contained in:
lightningterror 2019-05-25 17:19:17 +02:00
parent 3fb2afb51a
commit 5e043b3b6f
3 changed files with 18 additions and 0 deletions

View File

@ -305,6 +305,9 @@ CRC::Game CRC::m_games[] =
{0xEB198738, LordOfTheRingsThirdAge, US, 0},
{0x614F4CF4, LordOfTheRingsThirdAge, EU, 0},
{0x37CD4279, LordOfTheRingsThirdAge, KO, 0},
{0xE169BAF8, RedDeadRevolver, US, 0},
{0xE2E67E23, RedDeadRevolver, EU, 0},
{0x87844524, RedDeadRevolver, RU, 0}, // Unofficial RU-version
{0x6DF62AEA, BleachBladeBattlers, JP, 0},
{0x6EB71AB0, BleachBladeBattlers, JP, 0}, // 2nd
{0x3A446111, CastlevaniaCoD, US, 0},

View File

@ -110,6 +110,7 @@ public:
RatchetAndClank3,
RatchetAndClank4,
RatchetAndClank5,
RedDeadRevolver,
ResidentEvil4,
RickyPontingInternationalCricket,
RozenMaidenGebetGarden,

View File

@ -1326,6 +1326,19 @@ bool GSC_Okami(const GSFrameInfo& fi, int& skip)
return true;
}
bool GSC_RedDeadRevolver(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.FBP == 0x03700 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMCT24)
{
skip = 2; // Blur
}
}
return true;
}
bool GSC_ResidentEvil4(const GSFrameInfo& fi, int& skip)
{
if (skip == 0)
@ -1619,6 +1632,7 @@ void GSState::SetupCrcHack()
lut[CRC::FFX2] = GSC_FFXGames;
lut[CRC::FFX] = GSC_FFXGames;
lut[CRC::FFXII] = GSC_FFXGames;
lut[CRC::RedDeadRevolver] = GSC_RedDeadRevolver;
lut[CRC::ResidentEvil4] = GSC_ResidentEvil4;
lut[CRC::ShinOnimusha] = GSC_ShinOnimusha;
lut[CRC::SMTDDS1] = GSC_SMTNocturneDDS<0x203BA820>;