mirror of https://github.com/PCSX2/pcsx2.git
SetEmuVersion, pass actual PCSX2 version
This commit is contained in:
parent
4577f2f0a5
commit
b7ad408773
|
@ -865,7 +865,7 @@ SysCorePlugins::PluginStatus_t::PluginStatus_t( PluginsEnum_t _pid, const wxStri
|
||||||
.SetUserMsg(_( "The configured %s plugin is not a PCSX2 plugin, or is for an older unsupported version of PCSX2."));
|
.SetUserMsg(_( "The configured %s plugin is not a PCSX2 plugin, or is for an older unsupported version of PCSX2."));
|
||||||
|
|
||||||
if( SetEmuVersion != NULL )
|
if( SetEmuVersion != NULL )
|
||||||
SetEmuVersion( "PCSX2", (0ul << 24) | (9ul<<16) | (7ul<<8) | 0 );
|
SetEmuVersion("PCSX2", (PCSX2_VersionHi << 24) | (PCSX2_VersionMid << 16) | (PCSX2_VersionLo << 8) | 0);
|
||||||
|
|
||||||
Name = fromUTF8( GetLibName() );
|
Name = fromUTF8( GetLibName() );
|
||||||
int version = GetLibVersion2( tbl_PluginInfo[pid].typemask );
|
int version = GetLibVersion2( tbl_PluginInfo[pid].typemask );
|
||||||
|
|
|
@ -662,7 +662,7 @@ void Panels::PluginSelectorPanel::OnConfigure_Clicked( wxCommandEvent& evt )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (SetEmuVersion != NULL)
|
if (SetEmuVersion != NULL)
|
||||||
SetEmuVersion("PCSX2", (0ul << 24) | (9ul << 16) | (7ul << 8) | 0);
|
SetEmuVersion("PCSX2", (PCSX2_VersionHi << 24) | (PCSX2_VersionMid << 16) | (PCSX2_VersionLo << 8) | 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue