From ce38e0a2b3b83f29dcd9c8d734606875fba24859 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Fri, 17 Sep 2010 19:06:52 +0000 Subject: [PATCH] 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 --- plugins/zzogl-pg/opengl/GSmain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/zzogl-pg/opengl/GSmain.cpp b/plugins/zzogl-pg/opengl/GSmain.cpp index 75623d911a..93104658ef 100644 --- a/plugins/zzogl-pg/opengl/GSmain.cpp +++ b/plugins/zzogl-pg/opengl/GSmain.cpp @@ -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)())