gsdx-hw: Disable automatic mipmapping on Jak games for now.

It crashes the emulator so until the issue is resolved properly comment
out/disable automatic mipmapping for jak games.

Issue #2916
This commit is contained in:
lightningterror 2019-04-07 19:50:46 +02:00
parent b68761fa0d
commit 508a8b477e
1 changed files with 40 additions and 38 deletions

View File

@ -189,44 +189,46 @@ void GSRendererHW::SetGameCRC(uint32 crc, int options)
{ {
switch (CRC::Lookup(crc).title) switch (CRC::Lookup(crc).title)
{ {
case CRC::AceCombatZero: case CRC::AceCombatZero:
case CRC::AceCombat4: case CRC::AceCombat4:
case CRC::AceCombat5: case CRC::AceCombat5:
case CRC::ApeEscape2: case CRC::ApeEscape2:
case CRC::Barnyard: case CRC::Barnyard:
case CRC::BrianLaraInternationalCricket: case CRC::BrianLaraInternationalCricket:
case CRC::DarkCloud: case CRC::DarkCloud:
case CRC::DestroyAllHumans: case CRC::DestroyAllHumans:
case CRC::DestroyAllHumans2: case CRC::DestroyAllHumans2:
case CRC::FIFA03: case CRC::FIFA03:
case CRC::FIFA04: case CRC::FIFA04:
case CRC::FIFA05: case CRC::FIFA05:
case CRC::HarryPotterATCOS: case CRC::HarryPotterATCOS:
case CRC::HarryPotterATHBP: case CRC::HarryPotterATHBP:
case CRC::HarryPotterATPOA: case CRC::HarryPotterATPOA:
case CRC::HarryPotterOOTP: case CRC::HarryPotterOOTP:
case CRC::Jak1: // Disable Automatic mipmapping for Jak games for now, it seems to cause a hard crash.
case CRC::Jak3: // Issue https://github.com/PCSX2/pcsx2/issues/2916
case CRC::LegacyOfKainDefiance: // case CRC::Jak1:
case CRC::NicktoonsUnite: // case CRC::Jak3:
case CRC::RatchetAndClank: case CRC::LegacyOfKainDefiance:
case CRC::RatchetAndClank2: case CRC::NicktoonsUnite:
case CRC::RatchetAndClank3: case CRC::RatchetAndClank:
case CRC::RatchetAndClank4: case CRC::RatchetAndClank2:
case CRC::RatchetAndClank5: case CRC::RatchetAndClank3:
case CRC::RickyPontingInternationalCricket: case CRC::RatchetAndClank4:
case CRC::Quake3Revolution: case CRC::RatchetAndClank5:
case CRC::Shox: case CRC::RickyPontingInternationalCricket:
case CRC::SoulReaver2: case CRC::Quake3Revolution:
case CRC::TheIncredibleHulkUD: case CRC::Shox:
case CRC::TombRaiderAnniversary: case CRC::SoulReaver2:
case CRC::TribesAerialAssault: case CRC::TheIncredibleHulkUD:
case CRC::Whiplash: case CRC::TombRaiderAnniversary:
m_mipmap = static_cast<int>(HWMipmapLevel::Basic); case CRC::TribesAerialAssault:
break; case CRC::Whiplash:
default: m_mipmap = static_cast<int>(HWMipmapLevel::Basic);
m_mipmap = static_cast<int>(HWMipmapLevel::Off); break;
break; default:
m_mipmap = static_cast<int>(HWMipmapLevel::Off);
break;
} }
} }
} }