Skip to content
Permalink
Browse files

gsdx-hw: Purge GSC_GTASanAndreas crc hacks.

Auto flush allows us to render the effects properly.
Small ghosting may not be an actual issues as it's also present on sw
renderer.
  • Loading branch information...
lightningterror committed May 17, 2019
1 parent 2941fd9 commit 87808fee03773f4ded87cd0b1694d7825e9b1b60
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
@@ -421,11 +421,6 @@ CRC::Game CRC::m_games[] =
{0x5AC7E79C, TouristTrophy, CH, 0}, // cutie comment
{0xFF9C0E93, TouristTrophy, US, 0},
{0xCA9AA903, TouristTrophy, EU, 0},
{0xA1B3F232, GTASanAndreas, EU, 0}, // cutie comment
{0xB440A8FE, GTASanAndreas, EU, 0},
{0x399A49CA, GTASanAndreas, US, 0},
{0x2C6BE434, GTASanAndreas, US, 0},
{0x60FE139C, GTASanAndreas, JP, 0},
{0xAEDAEE99, GodHand, JP, 0},
{0x6FB69282, GodHand, US, 0},
{0x924C4AA6, GodHand, KO, 0},
@@ -71,7 +71,6 @@ class CRC
Grandia3,
GT3,
GT4,
GTASanAndreas,
GTConcept,
HarleyDavidson,
HarryPotterATCOS,
@@ -1251,19 +1251,6 @@ bool GSC_GodOfWar(const GSFrameInfo& fi, int& skip)
return true;
}

bool GSC_GTASanAndreas(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.TME && (fi.FBP ==0x0a00 || fi.FBP ==0x08c0) && (fi.TBP0 ==0x1b80 || fi.TBP0 ==0x1a40) && fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT32)
{
skip = 1; // Ghosting
}
}

return true;
}

template<uptr state_addr>
bool GSC_SMTNocturneDDS(const GSFrameInfo& fi, int& skip)
{
@@ -1641,7 +1628,6 @@ void GSState::SetupCrcHack()

// Upscaling issues
lut[CRC::GodOfWar] = GSC_GodOfWar;
lut[CRC::GTASanAndreas] = GSC_GTASanAndreas; // RW frame buffer. UserHacks_AutoFlush allow to emulate it correctly. Can be used as an upscaling hack.
lut[CRC::Okami] = GSC_Okami;
}

0 comments on commit 87808fe

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