mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
wx3.0: disable an useless symbol on linux
Not used and print an error message for each plugins.
This commit is contained in:
1 parent
01de778831
commit
cfa8e94e95
1 file changed
+4
@@ -853,7 +853,11 @@ SysCorePlugins::PluginStatus_t::PluginStatus_t( PluginsEnum_t _pid, const wxStri
|
||||
|
||||
_PS2EgetLibName GetLibName = (_PS2EgetLibName) Lib.GetSymbol( L"PS2EgetLibName" );
|
||||
_PS2EgetLibVersion2 GetLibVersion2 = (_PS2EgetLibVersion2) Lib.GetSymbol( L"PS2EgetLibVersion2" );
|
||||
#ifdef __LINUX__
|
||||
_PS2EsetEmuVersion SetEmuVersion = NULL;
|
||||
#else
|
||||
_PS2EsetEmuVersion SetEmuVersion = (_PS2EsetEmuVersion) Lib.GetSymbol( L"PS2EsetEmuVersion" );
|
||||
#endif
|
||||
|
||||
if( GetLibName == NULL || GetLibVersion2 == NULL )
|
||||
throw Exception::PluginLoadError( pid ).SetStreamName(Filename)
|
||||
|
||||
Reference in new issue
Block a user