mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Purge GSC_StarWarsBattlefront and GSC_StarWarsBattlefront2 crc hacks.
Channel shuffle emulates the effects correctly on all renders.
This commit is contained in:
parent
6f6e5eb325
commit
f0fec02eec
|
@ -396,8 +396,6 @@ CRC::Game CRC::m_games[] =
|
||||||
{0x879CDA5E, StarWarsForceUnleashed, US, 0},
|
{0x879CDA5E, StarWarsForceUnleashed, US, 0},
|
||||||
{0x137C792E, StarWarsForceUnleashed, US, 0},
|
{0x137C792E, StarWarsForceUnleashed, US, 0},
|
||||||
{0xDAF2145C, StarWarsForceUnleashed, EU, 0},
|
{0xDAF2145C, StarWarsForceUnleashed, EU, 0},
|
||||||
{0x503BF9E1, StarWarsBattlefront, NoRegion, 0}, // EU and US versions have the same CRC
|
|
||||||
{0x02F4B541, StarWarsBattlefront2, NoRegion, 0}, // EU and US versions have the same CRC
|
|
||||||
{0xA8DB29DF, BlackHawkDown, EU, 0},
|
{0xA8DB29DF, BlackHawkDown, EU, 0},
|
||||||
{0x25FC361B, DevilMayCry3, US, 0}, // SE
|
{0x25FC361B, DevilMayCry3, US, 0}, // SE
|
||||||
{0x2F7D8AD5, DevilMayCry3, US, 0},
|
{0x2F7D8AD5, DevilMayCry3, US, 0},
|
||||||
|
|
|
@ -150,8 +150,6 @@ public:
|
||||||
SpyroEternalNight,
|
SpyroEternalNight,
|
||||||
SpyroNewBeginning,
|
SpyroNewBeginning,
|
||||||
StarOcean3,
|
StarOcean3,
|
||||||
StarWarsBattlefront,
|
|
||||||
StarWarsBattlefront2,
|
|
||||||
StarWarsForceUnleashed,
|
StarWarsForceUnleashed,
|
||||||
SteambotChronicles,
|
SteambotChronicles,
|
||||||
SuikodenTactics,
|
SuikodenTactics,
|
||||||
|
|
|
@ -1141,36 +1141,6 @@ bool GSC_DeathByDegreesTekkenNinaWilliams(const GSFrameInfo& fi, int& skip)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GSC_StarWarsBattlefront(const GSFrameInfo& fi, int& skip)
|
|
||||||
{
|
|
||||||
if(skip == 0)
|
|
||||||
{
|
|
||||||
if(fi.TME && (fi.FBP > 0x0 && fi.FBP < 0x01000) && fi.FPSM == PSM_PSMCT32 && (fi.TBP0 > 0x02000 && fi.TBP0 < 0x03000) && fi.TPSM == PSM_PSMT8)
|
|
||||||
{
|
|
||||||
skip = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GSC_StarWarsBattlefront2(const GSFrameInfo& fi, int& skip)
|
|
||||||
{
|
|
||||||
if(skip == 0)
|
|
||||||
{
|
|
||||||
if(fi.TME && (fi.FBP > 0x01000 && fi.FBP < 0x02000) && fi.FPSM == PSM_PSMCT32 && (fi.TBP0 > 0x0 && fi.TBP0 < 0x01000) && fi.TPSM == PSM_PSMT8)
|
|
||||||
{
|
|
||||||
skip = 1;
|
|
||||||
}
|
|
||||||
if(fi.TME && (fi.FBP > 0x01000 && fi.FBP < 0x02000) && fi.FPSM == PSM_PSMZ32 && (fi.TBP0 > 0x0 && fi.TBP0 < 0x01000) && fi.TPSM == PSM_PSMT8)
|
|
||||||
{
|
|
||||||
skip = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GSC_Okami(const GSFrameInfo& fi, int& skip)
|
bool GSC_Okami(const GSFrameInfo& fi, int& skip)
|
||||||
{
|
{
|
||||||
if(skip == 0)
|
if(skip == 0)
|
||||||
|
@ -2148,8 +2118,6 @@ void GSState::SetupCrcHack()
|
||||||
// Channel Effect
|
// Channel Effect
|
||||||
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams;
|
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams;
|
||||||
lut[CRC::MetalGearSolid3] = GSC_MetalGearSolid3; // + accurate blending
|
lut[CRC::MetalGearSolid3] = GSC_MetalGearSolid3; // + accurate blending
|
||||||
lut[CRC::StarWarsBattlefront] = GSC_StarWarsBattlefront;
|
|
||||||
lut[CRC::StarWarsBattlefront2] = GSC_StarWarsBattlefront2;
|
|
||||||
|
|
||||||
// Dedicated shader for channel effect
|
// Dedicated shader for channel effect
|
||||||
lut[CRC::TalesOfAbyss] = GSC_TalesOfAbyss;
|
lut[CRC::TalesOfAbyss] = GSC_TalesOfAbyss;
|
||||||
|
|
Loading…
Reference in New Issue