Skip to content
Permalink
Browse files

gsdx-hw: Re add GSC_RedDeadRevolver crc hack that only skipped blur e…

…ffects to aggressive mode only.

Previous commit for reference:

548d6b3
  • Loading branch information...
lightningterror committed May 25, 2019
1 parent 3fb2afb commit 5e043b3b6fb1a1bd25c8b66123a7cb1f983cb98d
Showing with 18 additions and 0 deletions.
  1. +3 −0 plugins/GSdx/GSCrc.cpp
  2. +1 −0 plugins/GSdx/GSCrc.h
  3. +14 −0 plugins/GSdx/Renderers/HW/GSHwHack.cpp
@@ -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},
@@ -110,6 +110,7 @@ class CRC
RatchetAndClank3,
RatchetAndClank4,
RatchetAndClank5,
RedDeadRevolver,
ResidentEvil4,
RickyPontingInternationalCricket,
RozenMaidenGebetGarden,
@@ -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>;

0 comments on commit 5e043b3

Please sign in to comment.
You can’t perform that action at this time.