mirror of https://github.com/PCSX2/pcsx2.git
Fix for old GSDX config GUI showing.
during 1st time config.
This commit is contained in:
parent
4e82073bfc
commit
51671e9391
|
@ -653,6 +653,17 @@ void Panels::PluginSelectorPanel::OnConfigure_Clicked( wxCommandEvent& evt )
|
||||||
{
|
{
|
||||||
func( GetLogFolder().ToString().mb_str(wxConvFile) );
|
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();
|
configfunc();
|
||||||
|
|
Loading…
Reference in New Issue