GSdx: Fully disable CRC based hacks when the option is set (by setting the CRC to 0). Some GSRendererHW::OI_* functions were still active before.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5315 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-06-19 16:10:24 +00:00
parent 4f6a842dca
commit ef0377b0e9
1 changed files with 6 additions and 1 deletions

View File

@ -745,7 +745,12 @@ EXPORT_C_(int) GSsetupRecording(int start, void* data)
EXPORT_C GSsetGameCRC(uint32 crc, int options)
{
int userHacks_DisableCrcHacks1 = !!theApp.GetConfig("UserHacks", 0) ? theApp.GetConfig( "UserHacks_DisableCrcHacks", 0 ) : 0;
if (!userHacks_DisableCrcHacks1)
s_gs->SetGameCRC(crc, options);
else
s_gs->SetGameCRC(0, options);
}
EXPORT_C GSgetLastTag(uint32* tag)