GregMiscellaneous: zzogl-pg: try to fix automatic hack that dissapears

* Force the setting of the auto hack after GS was closed
* Always enable path3 hack


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3793 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-09-17 19:06:52 +00:00
parent aac5ab18ca
commit ce38e0a2b3
1 changed files with 4 additions and 0 deletions

View File

@ -245,6 +245,9 @@ void CALLBACK GSsetGameCRC(int crc, int options)
if (CRCValueChanged && (crc != 0))
{
// Enable Path3 hack for all games
conf.def_hacks.path3 = 1;
for (int i = 0; i < GAME_INFO_INDEX; i++)
{
if (crc_game_list[i].crc == crc)
@ -383,6 +386,7 @@ void CALLBACK GSclose()
SaveStateFile = NULL;
SaveStateExists = true; // default value
g_LastCRC = 0;
}
void CALLBACK GSirqCallback(void (*callback)())