mirror of https://github.com/PCSX2/pcsx2.git
Remove old obsolete code specific to ancient Windows versions of GSdx.
This commit is contained in:
parent
ef96e050f9
commit
f44f676cce
|
@ -529,8 +529,6 @@ typedef u32(CALLBACK *_PS2EgetLibType)(void);
|
|||
typedef u32(CALLBACK *_PS2EgetLibVersion2)(u32 type);
|
||||
typedef char *(CALLBACK *_PS2EgetLibName)(void);
|
||||
|
||||
typedef void(CALLBACK *_PS2EsetEmuVersion)(const char *emuId, u32 version); // HACK to let some plugins know it's 0.9.7 PCSX2 --air
|
||||
|
||||
// GS
|
||||
// NOTE: GSreadFIFOX/GSwriteCSR functions CANNOT use XMM/MMX regs
|
||||
// If you want to use them, need to save and restore current ones
|
||||
|
|
|
@ -975,17 +975,6 @@ SysCorePlugins::PluginStatus_t::PluginStatus_t( PluginsEnum_t _pid, const wxStri
|
|||
.SetDiagMsg(L"%s plugin init failed: Method binding failure on GetLibName or GetLibVersion2.")
|
||||
.SetUserMsg(_( "The configured %s plugin is not a PCSX2 plugin, or is for an older unsupported version of PCSX2."));
|
||||
|
||||
// Only Windows GSdx uses this. Should be removed in future after GSdx no longer relies on it to show the new config dialog.
|
||||
#ifdef _WIN32
|
||||
// Since only Windows Gsdx has this symbol, that means every other plugin is going to cause error messages to be logged.
|
||||
// Let's not do that for a hack function.
|
||||
if (Lib->HasSymbol(L"PS2EsetEmuVersion")) {
|
||||
_PS2EsetEmuVersion SetEmuVersion = (_PS2EsetEmuVersion)Lib->GetSymbol(L"PS2EsetEmuVersion");
|
||||
if (SetEmuVersion)
|
||||
SetEmuVersion("PCSX2", (PCSX2_VersionHi << 24) | (PCSX2_VersionMid << 16) | (PCSX2_VersionLo << 8) | 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
Name = fromUTF8( GetLibName() );
|
||||
int version = GetLibVersion2( tbl_PluginInfo[pid].typemask );
|
||||
Version.Printf( L"%d.%d.%d", (version>>8)&0xff, version&0xff, (version>>24)&0xff );
|
||||
|
|
Loading…
Reference in New Issue