diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 11cef0d0ddebb..2351fed3ca474 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -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 diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index f9a4b98ead92e..1498810fab4ba 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -81,6 +81,7 @@ class CRC GTConcept, HarleyDavidson, HarryPotterATCOS, + HarryPotterATHBP, HarryPotterATPOA, HarryPotterOOTP, HauntingGround, diff --git a/plugins/GSdx/GSRendererHW.cpp b/plugins/GSdx/GSRendererHW.cpp index b62ab405b51af..486d22b537e30 100644 --- a/plugins/GSdx/GSRendererHW.cpp +++ b/plugins/GSdx/GSRendererHW.cpp @@ -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("mipmap_hw") == HWMipmapLevel::Automatic) { - switch (CRC::Lookup(crc).title) { + if (theApp.GetConfigT("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: