Add more windows versions...

This commit is contained in:
Pat Raynor 2014-08-01 02:35:12 -04:00
parent f5dd0611d5
commit afeab489dd

View file

@ -1140,8 +1140,14 @@ void Sys_Init() {
win32.sys_arch.SetString( "Win2K (NT)" );
} else if( win32.osversion.dwMajorVersion == 5 && win32.osversion.dwMinorVersion == 1 ) {
win32.sys_arch.SetString( "WinXP (NT)" );
} else if ( win32.osversion.dwMajorVersion == 6 ) {
} else if( win32.osversion.dwMajorVersion == 6 ) {
win32.sys_arch.SetString( "Vista" );
} else if( win32.osversion.dwMajorVersion == 6 && win32.osversion.dwMinorVersion == 1 ) {
win32.sys_arch.SetString( "Win7" );
} else if( win32.osversion.dwMajorVersion == 6 && win32.osversion.dwMinorVersion == 2 ) {
win32.sys_arch.SetString( "Win8" );
} else if( win32.osversion.dwMajorVersion == 6 && win32.osversion.dwMinorVersion == 3 ) {
win32.sys_arch.SetString( "Win8.1" );
} else {
win32.sys_arch.SetString( "Unknown NT variant" );
}