mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
4f6a842dca
commit
ef0377b0e9
|
@ -745,7 +745,12 @@ EXPORT_C_(int) GSsetupRecording(int start, void* data)
|
|||
|
||||
EXPORT_C GSsetGameCRC(uint32 crc, int options)
|
||||
{
|
||||
s_gs->SetGameCRC(crc, 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)
|
||||
|
|
Loading…
Reference in New Issue