mirror of https://github.com/PCSX2/pcsx2.git
Fix Windows XP Home vs Pro detection.
VER_SUITE_PERSONAL is set for XP Home therefore the check was backwards.
This commit is contained in:
parent
45fc9603e3
commit
f29dd8b927
|
@ -244,7 +244,7 @@ wxString GetOSVersionString()
|
|||
if ( osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1 )
|
||||
{
|
||||
retval += L"Windows XP ";
|
||||
retval += ( osvi.wSuiteMask & VER_SUITE_PERSONAL ) ? L"Professional" : L"Home Edition";
|
||||
retval += ( osvi.wSuiteMask & VER_SUITE_PERSONAL ) ? L"Home Edition" : L"Professional";
|
||||
}
|
||||
|
||||
if ( osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0 )
|
||||
|
|
Loading…
Reference in New Issue