Skip to content
Permalink
Browse files

gsdx-hw: Remove GSC_ResidentEvil4 crc hack.

Game is properly rendered on all renderers, any upscaling issues can be
resolved with Half Pixel Offset Normal.
  • Loading branch information
lightningterror committed Nov 25, 2019
1 parent 50dda75 commit cc62165e36b41009290fd8e77c64279847f4e481
Showing with 0 additions and 20 deletions.
  1. +0 −5 plugins/GSdx/GSCrc.cpp
  2. +0 −1 plugins/GSdx/GSCrc.h
  3. +0 −14 plugins/GSdx/Renderers/HW/GSHwHack.cpp
@@ -164,11 +164,6 @@ CRC::Game CRC::m_games[] =
{0x34E2EEC7, CrashBandicootWoC, RU, 0},
{0x3A03D62F, CrashBandicootWoC, EU, 0},
{0x35D70452, CrashBandicootWoC, EU, 0},
{0x013E349D, ResidentEvil4, US, 0},
{0xDBB7A559, ResidentEvil4, US, 0},
{0x6BA2F6B9, ResidentEvil4, EU, 0},
{0x60FA8C69, ResidentEvil4, JP, 0},
{0x5F254B7C, ResidentEvil4, KO, 0},
{0x72E1E60E, Spartan, EU, 0},
{0x26689C87, Spartan, JP, 0},
{0x08277A9E, Spartan, US, 0},
@@ -111,7 +111,6 @@ class CRC
RatchetAndClank4,
RatchetAndClank5,
RedDeadRevolver,
ResidentEvil4,
RickyPontingInternationalCricket,
RozenMaidenGebetGarden,
SacredBlaze,
@@ -1255,19 +1255,6 @@ bool GSC_RedDeadRevolver(const GSFrameInfo& fi, int& skip)
return true;
}

bool GSC_ResidentEvil4(const GSFrameInfo& fi, int& skip)
{
if (skip == 0)
{
if (fi.TME && fi.FBP == 0x03100 && fi.FPSM == PSM_PSMCT32 && fi.TBP0 == 0x01c00 && fi.TPSM == PSM_PSMZ24)
{
skip = 176; // Removes fog, but no longer required, does offer a decent speed boost.
}
}

return true;
}

bool GSC_ShinOnimusha(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
@@ -1538,7 +1525,6 @@ void GSState::SetupCrcHack()
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>;
lut[CRC::SMTDDS2] = GSC_SMTNocturneDDS<0x20435BF0>;

0 comments on commit cc62165

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