Skip to content
Permalink
Browse files

gsdx-hw: Purge GSC_SimpsonsGame crc hacks.

Upscaling issue can be resolved with Half Pixel Offset Normal.
  • Loading branch information...
lightningterror committed May 5, 2019
1 parent 079baae commit 9a5225dfdf77eaf2021a2ee5c576b1a028202c66
Showing with 0 additions and 25 deletions.
  1. +0 −7 plugins/GSdx/GSCrc.cpp
  2. +0 −1 plugins/GSdx/GSCrc.h
  3. +0 −17 plugins/GSdx/Renderers/HW/GSHwHack.cpp
@@ -229,13 +229,6 @@ CRC::Game CRC::m_games[] =
{0xAA5EC3A3, TalesOfAbyss, JP, 0},
{0xFB236A46, SonicUnleashed, US, 0},
{0x8C913264, SonicUnleashed, EU, 0},
{0x5C1EBD61, SimpsonsGame, EU, 0},
{0x5C1EBF61, SimpsonsGame, FR, 0},
{0x4C7BB3C8, SimpsonsGame, NoRegion, 0},
{0x4C94B32C, SimpsonsGame, NoRegion, 0},
{0x565B7E04, SimpsonsGame, IT, 0},
{0x206779D8, SimpsonsGame, EU, 0},
{0xBBE4D862, SimpsonsGame, US, 0},
{0xD71B57F4, Genji, US, 0},
{0xFADEBC45, Genji, EU, 0},
{0xB4776FC1, Genji, JP, 0},
@@ -123,7 +123,6 @@ class CRC
ShinOnimusha,
Shox,
Simple2000Vol114,
SimpsonsGame,
SkyGunner,
Sly2,
Sly3,
@@ -1381,22 +1381,6 @@ bool GSC_ShinOnimusha(const GSFrameInfo& fi, int& skip)
return true;
}

bool GSC_SimpsonsGame(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.TME && fi.FBP == 0x03000 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8H)
{
// Removes character outlines, similar to DBZ BT3.
// Upscaling causes the outlines to be out of place but can be fixed with TC Offsets.
// The hack can be used to increase slight performance.
skip = 2;
}
}

return true;
}

////////////////////////////////////////////////////////////////////////////////

#ifdef ENABLE_DYNAMIC_CRC_HACK
@@ -1659,7 +1643,6 @@ void GSState::SetupCrcHack()
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;
lut[CRC::SimpsonsGame] = GSC_SimpsonsGame;
}

m_gsc = lut[m_game.title];

0 comments on commit 9a5225d

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