Skip to content

Commit

Permalink
gsdx-hw: Update a few crc issue categories for several games.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Mar 8, 2019
1 parent 889001c commit 7354c1f
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions plugins/GSdx/Renderers/HW/GSHwHack.cpp
Expand Up @@ -1676,12 +1676,8 @@ void GSState::SetupCrcHack()
memset(lut, 0, sizeof(lut));

if (Dx_and_OGL) {
lut[CRC::BurnoutDominator] = GSC_BurnoutGames;
lut[CRC::BurnoutRevenge] = GSC_BurnoutGames;
lut[CRC::BurnoutTakedown] = GSC_BurnoutGames;
lut[CRC::CrashBandicootWoC] = GSC_CrashBandicootWoC;
lut[CRC::DevilMayCry3] = GSC_DevilMayCry3;
lut[CRC::Genji] = GSC_Genji;
lut[CRC::GodHand] = GSC_GodHand;
lut[CRC::KnightsOfTheTemple2] = GSC_KnightsOfTheTemple2;
lut[CRC::Kunoichi] = GSC_Kunoichi;
Expand Down Expand Up @@ -1723,9 +1719,15 @@ void GSState::SetupCrcHack()
lut[CRC::DemonStone] = GSC_DemonStone; // Half screen on texture shuffle
lut[CRC::Tekken5] = GSC_Tekken5;

// Needs testing
lut[CRC::Genji] = GSC_Genji;

// Texture shuffle
lut[CRC::BigMuthaTruckers] = GSC_BigMuthaTruckers; // + Half screen on texture shuffle
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams;
lut[CRC::BurnoutDominator] = GSC_BurnoutGames; // Could be a depth effect too

This comment has been minimized.

Copy link
@gregory38

gregory38 Mar 9, 2019

Contributor

Burnout is a depth issue. It need a way to access sub depth buffer in texture cache. I.e. texture address is inside the depth and not the start of depth

This comment has been minimized.

Copy link
@lightningterror

lightningterror Mar 9, 2019

Author Contributor

Oh well I was close, will correct it when I do another commit.

lut[CRC::BurnoutRevenge] = GSC_BurnoutGames; // Could be a depth effect too
lut[CRC::BurnoutTakedown] = GSC_BurnoutGames; // Could be a depth effect too
lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams; // + Upscaling issues
lut[CRC::SonicUnleashed] = GSC_SonicUnleashed; // + Half screen on texture shuffle

// These games emulate a stencil buffer with the alpha channel of the RT (too slow to move to Aggressive)
Expand Down Expand Up @@ -1756,10 +1758,10 @@ void GSState::SetupCrcHack()
// Accumulation blend
lut[CRC::NanoBreaker] = GSC_NanoBreaker;

lut[CRC::XenosagaE3] = GSC_XenosagaE3;

// Needs testing
lut[CRC::Grandia3] = GSC_Grandia3;
lut[CRC::HauntingGround] = GSC_HauntingGround; // + Texture cache issue + Date
lut[CRC::XenosagaE3] = GSC_XenosagaE3;

// Those games might requires accurate fbmask
lut[CRC::Sly2] = GSC_SlyGames; // + Upscaling issue
Expand All @@ -1768,9 +1770,6 @@ void GSState::SetupCrcHack()
// Those games require accurate_colclip (perf)
lut[CRC::CastlevaniaCoD] = GSC_CastlevaniaGames;
lut[CRC::CastlevaniaLoI] = GSC_CastlevaniaGames;

// Unknown status
lut[CRC::Grandia3] = GSC_Grandia3;
}

if (Aggressive) {
Expand All @@ -1785,13 +1784,13 @@ void GSState::SetupCrcHack()
lut[CRC::SMTDDS1] = GSC_SMTNocturneDDS<0x203BA820>;
lut[CRC::SMTDDS2] = GSC_SMTNocturneDDS<0x20435BF0>;
lut[CRC::SMTNocturne] = GSC_SMTNocturneDDS<0x2054E870>;
lut[CRC::SoTC] = GSC_SoTC;

// Upscaling issues
lut[CRC::GodOfWar] = GSC_GodOfWar;
lut[CRC::GTASanAndreas] = GSC_GTASanAndreas; // RW frame buffer. UserHacks_AutoFlush allow to emulate it correctly. Can be used as an upscaling hack.
lut[CRC::Okami] = GSC_Okami;
lut[CRC::SimpsonsGame] = GSC_SimpsonsGame;
lut[CRC::SoTC] = GSC_SoTC;
}

m_gsc = lut[m_game.title];
Expand Down

0 comments on commit 7354c1f

Please sign in to comment.