GSdx: Partially re add Bully crc hack.

Game has upscaling issues so let's only add the hack for upscaling,
also merge the two regions together.
Hack will be disabled on native res if crc is below aggressive, upscaled
is set to partial level.
This commit is contained in:
lightningterror 2018-12-24 14:06:52 +01:00
parent e299ac1ffa
commit 29941f3e0d
3 changed files with 28 additions and 5 deletions

View File

@ -113,6 +113,9 @@ CRC::Game CRC::m_games[] =
{0x71521863, SFEX3, US, 0},
{0x63642E9F, SFEX3, JP, 0},
{0xCA1F6E53, SFEX3, JP, 0}, // Taikenban Disc (Demo/Trial)
{0x28703748, Bully, US, 0},
{0x019CFA48, Bully, JP, 0},
{0xC78A495D, Bully, EU, 0}, // BullyCC
{0xC19A374E, SoTC, US, 0},
{0x7D8F539A, SoTC, EU, 0},
{0x0F0C4A9C, SoTC, EU, 0},

View File

@ -37,6 +37,7 @@ public:
BlackHawkDown,
BleachBladeBattlers,
BrianLaraInternationalCricket,
Bully,
BurnoutDominator,
BurnoutRevenge,
BurnoutTakedown,

View File

@ -57,6 +57,22 @@ bool GSC_BigMuthaTruckers(const GSFrameInfo& fi, int& skip)
return true;
}
bool GSC_Bully(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if((Aggressive || !s_nativeres) && !fi.TME && (fi.FBP == 0x02300 || fi.FBP == 0x02800) && fi.FPSM == PSM_PSMCT24)
{
// ntsc 0x02300, pal 0x02800
// Don't enable hack on native res if crc is below aggressive.
// skip 9 for pal but maybe 6 is enough, dump looks fine.
skip = 6; // Upscaling blur/ghosting
}
}
return true;
}
// Potentially partially dx only
bool GSC_DBZBT2(const GSFrameInfo& fi, int& skip)
{
@ -1859,18 +1875,14 @@ void GSState::SetupCrcHack()
lut[CRC::BurnoutTakedown] = GSC_BurnoutGames;
lut[CRC::CrashBandicootWoC] = GSC_CrashBandicootWoC;
lut[CRC::DevilMayCry3] = GSC_DevilMayCry3;
lut[CRC::EvangelionJo] = GSC_EvangelionJo;
lut[CRC::FightingBeautyWulong] = GSC_FightingBeautyWulong;
lut[CRC::Genji] = GSC_Genji;
lut[CRC::GodHand] = GSC_GodHand;
lut[CRC::IkkiTousen] = GSC_IkkiTousen;
lut[CRC::KnightsOfTheTemple2] = GSC_KnightsOfTheTemple2;
lut[CRC::Kunoichi] = GSC_Kunoichi;
lut[CRC::Manhunt2] = GSC_Manhunt2;
lut[CRC::MidnightClub3] = GSC_MidnightClub3;
lut[CRC::NarutimateAccel] = GSC_NarutimateAccel;
lut[CRC::Naruto] = GSC_Naruto;
lut[CRC::Oneechanbara2Special] = GSC_Oneechanbara2Special;
lut[CRC::Onimusha3] = GSC_Onimusha3;
lut[CRC::RedDeadRevolver] = GSC_RedDeadRevolver;
lut[CRC::SacredBlaze] = GSC_SacredBlaze;
@ -1887,7 +1899,6 @@ void GSState::SetupCrcHack()
lut[CRC::TombRaiderAnniversary] = GSC_TombRaiderAnniversary;
lut[CRC::TombRaiderLegend] = GSC_TombRaiderLegend;
lut[CRC::TombRaiderUnderworld] = GSC_TombRaiderUnderWorld;
lut[CRC::UltramanFightingEvolution] = GSC_UltramanFightingEvolution;
lut[CRC::UrbanReign] = GSC_UrbanReign;
lut[CRC::WildArms4] = GSC_WildArmsGames;
lut[CRC::WildArms5] = GSC_WildArmsGames;
@ -1914,6 +1925,14 @@ void GSState::SetupCrcHack()
lut[CRC::StarOcean3] = GSC_StarOcean3;
lut[CRC::ValkyrieProfile2] = GSC_ValkyrieProfile2;
// Upscaling hacks
lut[CRC::Bully] = GSC_Bully;
lut[CRC::EvangelionJo] = GSC_EvangelionJo;
lut[CRC::FightingBeautyWulong] = GSC_FightingBeautyWulong;
lut[CRC::IkkiTousen] = GSC_IkkiTousen;
lut[CRC::Oneechanbara2Special] = GSC_Oneechanbara2Special;
lut[CRC::UltramanFightingEvolution] = GSC_UltramanFightingEvolution;
// Only Aggressive
lut[CRC::BleachBladeBattlers] = GSC_BleachBladeBattlers;
lut[CRC::FFX2] = GSC_FFXGames;