GSdx: Add Harry Potter and the Half-Blood Prince to automatic mipmapping.

This commit is contained in:
lightningterror 2018-10-19 22:16:00 +02:00
parent df307bed02
commit 6dca3656ed
3 changed files with 8 additions and 2 deletions

View File

@ -557,6 +557,8 @@ CRC::Game CRC::m_games[] =
{0x972719A3, FIFA05, EU, 0},
{0xC5473413, HarryPotterATCOS, NoRegion, 0}, // EU and US versions have the same CRC - Chamber Of Secrets
{0xE90BE9F8, HarryPotterATCOS, JP, 0 }, // Coca Cola original Version
{0x9C3A84F4, HarryPotterATHBP, US, 0 }, // Half-Blood Prince
{0xCB598BC2, HarryPotterATHBP, EU, 0 },
{0x51E019BC, HarryPotterATPOA, NoRegion, 0 }, // EU and US versions have the same CRC - Prisoner of Azkaban
{0x99A8B4FF, HarryPotterATPOA, KO, 0 },
{0xA8901AD6, HarryPotterATPOA, JP, 0 }, // Harry Potter to Azkaban no Shuujin

View File

@ -81,6 +81,7 @@ public:
GTConcept,
HarleyDavidson,
HarryPotterATCOS,
HarryPotterATHBP,
HarryPotterATPOA,
HarryPotterOOTP,
HauntingGround,

View File

@ -195,8 +195,10 @@ void GSRendererHW::SetGameCRC(uint32 crc, int options)
m_hacks.SetGameCRC(m_game);
// Code for Automatic Mipmapping. Relies on game CRCs.
if (theApp.GetConfigT<HWMipmapLevel>("mipmap_hw") == HWMipmapLevel::Automatic) {
switch (CRC::Lookup(crc).title) {
if (theApp.GetConfigT<HWMipmapLevel>("mipmap_hw") == HWMipmapLevel::Automatic)
{
switch (CRC::Lookup(crc).title)
{
case CRC::AceCombatZero:
case CRC::AceCombat4:
case CRC::AceCombat5:
@ -209,6 +211,7 @@ void GSRendererHW::SetGameCRC(uint32 crc, int options)
case CRC::FIFA04:
case CRC::FIFA05:
case CRC::HarryPotterATCOS:
case CRC::HarryPotterATHBP:
case CRC::HarryPotterATPOA:
case CRC::HarryPotterOOTP:
case CRC::Shox: