gsdx: enable clut_load_before_draw option on Harley Davidson (CRC hack)

At least the game is good until we find how the HW really behave
This commit is contained in:
Gregory Hainaut 2016-10-14 20:47:18 +02:00
parent 2c0a4ac906
commit 24684033ca
3 changed files with 9 additions and 1 deletions

View File

@ -510,7 +510,8 @@ CRC::Game CRC::m_games[] =
{0x12804727, Jak3, EU, 0},
{0x644CFD03, Jak3, US, 0},
{0xDF659E77, JakX, EU, 0},
{0x3091E6FB, JakX, US, 0}, // FIXME not sure on US
{0x3091E6FB, JakX, US, 0},
{0x4653CA3E, HarleyDavidson, NoRegion, 0},
};
map<uint32, CRC::Game*> CRC::m_map;

View File

@ -173,6 +173,7 @@ public:
Jak2,
Jak3,
JakX,
HarleyDavidson,
TitleCount,
};

View File

@ -2497,6 +2497,12 @@ void GSState::SetGameCRC(uint32 crc, int options)
m_options = options;
m_game = CRC::Lookup(m_crc_hack_level ? crc : 0);
SetupCrcHack();
// Until we find a solution that work for all games.
// (if a solution does exist)
if (m_game.title == CRC::HarleyDavidson) {
m_clut_load_before_draw = true;
}
}
//