mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-01-22 01:11:12 +00:00
Add more windows versions...
This commit is contained in:
parent
f5dd0611d5
commit
afeab489dd
1 changed files with 7 additions and 1 deletions
|
@ -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" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue