Fix for old GSDX config GUI showing.

during 1st time config.
This commit is contained in:
TheLastRar 2015-06-06 00:42:53 +01:00
parent bd96a73580
commit 4577f2f0a5
1 changed files with 11 additions and 0 deletions

View File

@ -653,6 +653,17 @@ void Panels::PluginSelectorPanel::OnConfigure_Clicked( wxCommandEvent& evt )
{
func( GetLogFolder().ToString().mb_str(wxConvFile) );
}
//FIX for GSDX loading old config GUI, Code taken from PluginManager.cpp
#ifdef __linux__
_PS2EsetEmuVersion SetEmuVersion = NULL;
#else
_PS2EsetEmuVersion SetEmuVersion = (_PS2EsetEmuVersion)dynlib.GetSymbol(L"PS2EsetEmuVersion");
#endif
if (SetEmuVersion != NULL)
SetEmuVersion("PCSX2", (0ul << 24) | (9ul << 16) | (7ul << 8) | 0);
}
configfunc();