GS-hw: Fully purge Shadow of Rome crc hacks.

Issue with upscaling and hpo special was clamp optimizations.
This commit is contained in:
lightningterror 2022-10-11 00:56:02 +02:00
parent 702aefa43e
commit 4f1143420c
4 changed files with 1 additions and 22 deletions

View File

@ -196,11 +196,6 @@ const CRC::Game CRC::m_games[] =
{0xA707236E, XenosagaE3, JP, 0}, // Demo {0xA707236E, XenosagaE3, JP, 0}, // Demo
{0xA4E88698, XenosagaE3, CH, 0}, {0xA4E88698, XenosagaE3, CH, 0},
{0x2088950A, XenosagaE3, US, 0}, {0x2088950A, XenosagaE3, US, 0},
{0xB1995E29, ShadowofRome, EU, 0},
{0x958DCA28, ShadowofRome, EU, 0},
{0x57818AF6, ShadowofRome, US, 0},
{0x1E210E60, ShadowofRome, US, 0}, // Demo
{0x36393CD3, ShadowofRome, JP, 0},
{0x694A998E, TombRaiderUnderworld, JP, 0}, {0x694A998E, TombRaiderUnderworld, JP, 0},
{0x8E214549, TombRaiderUnderworld, EU, 0}, {0x8E214549, TombRaiderUnderworld, EU, 0},
{0x618769D6, TombRaiderUnderworld, US, 0}, {0x618769D6, TombRaiderUnderworld, US, 0},

View File

@ -60,7 +60,6 @@ public:
SakuraTaisen, SakuraTaisen,
SakuraWarsSoLongMyLove, SakuraWarsSoLongMyLove,
SFEX3, SFEX3,
ShadowofRome,
ShinOnimusha, ShinOnimusha,
Simple2000Vol114, Simple2000Vol114,
SMTNocturne, SMTNocturne,

View File

@ -264,20 +264,6 @@ bool GSC_SakuraTaisen(const GSFrameInfo& fi, int& skip) noexcept
return true; return true;
} }
bool GSC_ShadowofRome(const GSFrameInfo& fi, int& skip) noexcept
{
if (skip == 0)
{
if (!s_nativeres && fi.TME == 0x0001 && (fi.TBP0 == 0x1300 || fi.TBP0 == 0x0f00) && fi.FBMSK >= 0xFFFFFF)
{
// Misaligned effect when upscaling.
skip = 1;
}
}
return true;
}
bool GSC_SFEX3(const GSFrameInfo& fi, int& skip) noexcept bool GSC_SFEX3(const GSFrameInfo& fi, int& skip) noexcept
{ {
if (skip == 0) if (skip == 0)
@ -841,7 +827,6 @@ void GSState::SetupCrcHack() noexcept
lut[CRC::SacredBlaze] = GSC_SacredBlaze; lut[CRC::SacredBlaze] = GSC_SacredBlaze;
lut[CRC::SakuraTaisen] = GSC_SakuraTaisen; lut[CRC::SakuraTaisen] = GSC_SakuraTaisen;
lut[CRC::SakuraWarsSoLongMyLove] = GSC_SakuraWarsSoLongMyLove; lut[CRC::SakuraWarsSoLongMyLove] = GSC_SakuraWarsSoLongMyLove;
lut[CRC::ShadowofRome] = GSC_ShadowofRome;
lut[CRC::Simple2000Vol114] = GSC_Simple2000Vol114; lut[CRC::Simple2000Vol114] = GSC_Simple2000Vol114;
lut[CRC::SFEX3] = GSC_SFEX3; lut[CRC::SFEX3] = GSC_SFEX3;
lut[CRC::TalesOfLegendia] = GSC_TalesOfLegendia; lut[CRC::TalesOfLegendia] = GSC_TalesOfLegendia;

View File

@ -1520,7 +1520,7 @@ void GSRendererHW::Draw()
const int tw = 1 << TEX0.TW; const int tw = 1 << TEX0.TW;
const int th = 1 << TEX0.TH; const int th = 1 << TEX0.TH;
# if 0 #if 0
// FIXME: We currently crop off the rightmost and bottommost pixel when upscaling clamps, // FIXME: We currently crop off the rightmost and bottommost pixel when upscaling clamps,
// until the issue is properly solved we should keep this disabled as it breaks many games when upscaling. // until the issue is properly solved we should keep this disabled as it breaks many games when upscaling.
// See #5387, #5853, #5851 on GH for more details. // See #5387, #5853, #5851 on GH for more details.