Cleanup unnecessary preprocessors
`DoesVersionMatchWindows` will return true by default for UWP when `greater` is true.
This commit is contained in:
parent
b546ee15e4
commit
e2a1db533f
1 changed files with 1 additions and 9 deletions
|
@ -128,21 +128,13 @@ bool DoesVersionMatchWindows(WindowsReleaseInfo release) {
|
|||
}
|
||||
|
||||
bool IsVistaOrHigher() {
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
return true;
|
||||
#else
|
||||
// Vista is 6.0
|
||||
return DoesVersionMatchWindows(6, 0, 0, 0, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool IsWin7OrHigher() {
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
return true;
|
||||
#else
|
||||
// Win7 is 6.1
|
||||
return DoesVersionMatchWindows(6, 0, 0, 0, true);
|
||||
#endif
|
||||
return DoesVersionMatchWindows(6, 1, 0, 0, true);
|
||||
}
|
||||
|
||||
std::string GetWindowsVersion() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue