mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Purge GSC_Black crc hacks.
Effects are rendered correctly with depth and texture shuffle on all renders.
This commit is contained in:
parent
eb000f0f41
commit
1957cf13c2
plugins/GSdx
|
@ -379,10 +379,6 @@ CRC::Game CRC::m_games[] =
|
||||||
{0xBC8B3F50, TombRaiderLegend, US, 0}, // cutie comment
|
{0xBC8B3F50, TombRaiderLegend, US, 0}, // cutie comment
|
||||||
{0x365172A0, TombRaiderLegend, JP, 0},
|
{0x365172A0, TombRaiderLegend, JP, 0},
|
||||||
{0x05177ECE, TombRaiderLegend, EU, 0},
|
{0x05177ECE, TombRaiderLegend, EU, 0},
|
||||||
{0x5C891FF1, Black, US, 0},
|
|
||||||
{0xCAA04879, Black, EU, 0},
|
|
||||||
{0xADDFF505, Black, EU, 0},
|
|
||||||
{0xB3A9F9ED, Black, JP, 0},
|
|
||||||
{0x879CDA5E, StarWarsForceUnleashed, US, 0},
|
{0x879CDA5E, StarWarsForceUnleashed, US, 0},
|
||||||
{0x137C792E, StarWarsForceUnleashed, US, 0},
|
{0x137C792E, StarWarsForceUnleashed, US, 0},
|
||||||
{0xDAF2145C, StarWarsForceUnleashed, EU, 0},
|
{0xDAF2145C, StarWarsForceUnleashed, EU, 0},
|
||||||
|
|
|
@ -34,7 +34,6 @@ public:
|
||||||
ArTonelico2,
|
ArTonelico2,
|
||||||
Barnyard,
|
Barnyard,
|
||||||
BigMuthaTruckers,
|
BigMuthaTruckers,
|
||||||
Black,
|
|
||||||
BlackHawkDown,
|
BlackHawkDown,
|
||||||
BleachBladeBattlers,
|
BleachBladeBattlers,
|
||||||
BrianLaraInternationalCricket,
|
BrianLaraInternationalCricket,
|
||||||
|
|
|
@ -1459,31 +1459,6 @@ bool GSC_CastlevaniaGames(const GSFrameInfo& fi, int& skip)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GSC_Black(const GSFrameInfo& fi, int& skip)
|
|
||||||
{
|
|
||||||
if(skip == 0)
|
|
||||||
{
|
|
||||||
// Note: the first part of the hack must be fixed in openGL (texture shuffle). Remains the 2nd part (HasSharedBits)
|
|
||||||
if(fi.TME /*&& (fi.FBP == 0x00000 || fi.FBP == 0x008c0)*/ && fi.FPSM == PSM_PSMCT16 && (fi.TBP0 == 0x01a40 || fi.TBP0 == 0x01b80 || fi.TBP0 == 0x030c0) && fi.TPSM == PSM_PSMZ16 || (GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)))
|
|
||||||
{
|
|
||||||
skip = 5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x008c0 || fi.FBP == 0x0a00 ) && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT4)
|
|
||||||
{
|
|
||||||
skip = 0;
|
|
||||||
}
|
|
||||||
else if(!fi.TME && fi.FBP == fi.TBP0 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8H)
|
|
||||||
{
|
|
||||||
skip = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GSC_CrashNburn(const GSFrameInfo& fi, int& skip)
|
bool GSC_CrashNburn(const GSFrameInfo& fi, int& skip)
|
||||||
{
|
{
|
||||||
if(skip == 0)
|
if(skip == 0)
|
||||||
|
@ -2041,10 +2016,6 @@ void GSState::SetupCrcHack()
|
||||||
// Unknown status
|
// Unknown status
|
||||||
lut[CRC::Grandia3] = GSC_Grandia3;
|
lut[CRC::Grandia3] = GSC_Grandia3;
|
||||||
|
|
||||||
// At least a part of the CRC is fixed with texture shuffle.
|
|
||||||
// The status of post-processing effect is unknown
|
|
||||||
lut[CRC::Black] = GSC_Black;
|
|
||||||
|
|
||||||
// Channel Effect
|
// Channel Effect
|
||||||
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams;
|
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue