Gsdx hw: Purge GSC_TalesOfAbyss crc hacks.

Depth and channel shuffle rendered correctly on all renderers.
Also add some missing crc ids for Tales of Abyss.

PS: I'm ninjaing 3000 builds on the buildbot 😄
This commit is contained in:
lightningterror 2019-03-08 16:13:39 +01:00
parent 47c255be2c
commit 910ef1db41
2 changed files with 2 additions and 27 deletions

View File

@ -238,8 +238,10 @@ CRC::Game CRC::m_games[] =
{0x71320CA8, Onimusha3, JP, 0}, {0x71320CA8, Onimusha3, JP, 0},
{0xDAFFFB0D, Onimusha3, KO, 0}, {0xDAFFFB0D, Onimusha3, KO, 0},
{0xF442260C, MajokkoALaMode2, JP, 0}, {0xF442260C, MajokkoALaMode2, JP, 0},
{0xA616A6C2, TalesOfAbyss, US, 0},
{0x14FE77F7, TalesOfAbyss, US, 0}, {0x14FE77F7, TalesOfAbyss, US, 0},
{0x045D77E9, TalesOfAbyss, JPUNDUB, 0}, {0x045D77E9, TalesOfAbyss, JPUNDUB, 0},
{0x14FD77F7, TalesOfAbyss, JPUNDUB, 0},
{0xAA5EC3A3, TalesOfAbyss, JP, 0}, {0xAA5EC3A3, TalesOfAbyss, JP, 0},
{0xFB236A46, SonicUnleashed, US, 0}, {0xFB236A46, SonicUnleashed, US, 0},
{0x8C913264, SonicUnleashed, EU, 0}, {0x8C913264, SonicUnleashed, EU, 0},

View File

@ -1095,30 +1095,6 @@ bool GSC_NanoBreaker(const GSFrameInfo& fi, int& skip)
return true; return true;
} }
bool GSC_TalesOfAbyss(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00) && fi.TBP0 == 0x01c00 && fi.TPSM == PSM_PSMT8) // copies the z buffer to the alpha channel of the fb
{
skip = 1000;
}
else if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00) && (fi.TBP0 == 0x03560 || fi.TBP0 == 0x038e0) && fi.TPSM == PSM_PSMCT32)
{
skip = 1;
}
}
else
{
if(fi.TME && fi.TPSM != PSM_PSMT8)
{
skip = 0;
}
}
return true;
}
bool GSC_Okami(const GSFrameInfo& fi, int& skip) bool GSC_Okami(const GSFrameInfo& fi, int& skip)
{ {
if(skip == 0) if(skip == 0)
@ -1797,9 +1773,6 @@ void GSState::SetupCrcHack()
// Unknown status // Unknown status
lut[CRC::Grandia3] = GSC_Grandia3; lut[CRC::Grandia3] = GSC_Grandia3;
// Dedicated shader for channel effect
lut[CRC::TalesOfAbyss] = GSC_TalesOfAbyss;
} }
if (Aggressive) { if (Aggressive) {