Gamedb/gsdx-hw: Add gamefix patch and crc id for Harry Potter and the Prisoner of Azkaban EU.

Gamefix patch source:

https://forums.pcsx2.net/Thread-Fixing-unplayable-games?pid=600492#pid600492
This commit is contained in:
lightningterror 2019-06-18 22:34:17 +02:00
parent 9401e52b08
commit 300f16df61
3 changed files with 15 additions and 2 deletions

View File

@ -12069,6 +12069,18 @@ Region = PAL-M5
Serial = SLES-52527
Name = Harry Potter og Fangen fra Azkaban
Region = PAL-M4 // Nordic.
[patches = 51E417AA]
comment=Patch by Prafull and Arapapa
// Fixes game hanging on loading screens.
// EETimingHack may be needed.
patch=1,EE,0016cf8c,word,00000000
patch=1,EE,0013cd64,word,00000000
patch=1,EE,0013c1a8,word,00000000
patch=1,EE,0013c1cc,word,00000000
patch=1,EE,80000000,word,00000000
patch=1,EE,0013df84,word,00000000
patch=1,EE,0013cd3c,word,00000000
[/patches]
---------------------------------------------
Serial = SLES-52531
Name = Suffering, The

View File

@ -483,6 +483,7 @@ CRC::Game CRC::m_games[] =
{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
{0x51E417AA, HarryPotterATPOA, EU, 0 },
{0x4C01B1B0, HarryPotterOOTP, US, 0}, // Order Of The Phoenix
{0x01A9BF0E, HarryPotterOOTP, EU, 0},
{0x230CB71D, SoulReaver2, US, 0},

View File

@ -228,8 +228,8 @@ bool GSDevice11::Create(const std::shared_ptr<GSWnd> &wnd)
{ // HACK: check nVIDIA
// Note: It can cause issues on several games such as SOTC, Fatal Frame, plus it adds border offset.
bool disale_safe_features = theApp.GetConfigB("UserHacks") && theApp.GetConfigB("UserHacks_Disable_Safe_Features");
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor && !disale_safe_features) ? -0.01f : 0.0f;
bool disable_safe_features = theApp.GetConfigB("UserHacks") && theApp.GetConfigB("UserHacks_Disable_Safe_Features");
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor && !disable_safe_features) ? -0.01f : 0.0f;
}
// debug