Commit Graph

15 Commits

Author SHA1 Message Date
Bashar Astifan
ec6db575fa Update OSVersion.cpp 2023-08-17 18:45:58 +04:00
Bashar Astifan
e2a1db533f Cleanup unnecessary preprocessors
`DoesVersionMatchWindows` will return true by default for UWP when `greater` is true.
2023-08-16 02:35:54 +04:00
Bashar Astifan
b546ee15e4 Update OSVersion.cpp
- Re-adding `GetVersionFromKernel32` to the original function as it's used in settings (will find better way later to merge two functions in one).
- UWP should always return true when `greater` is true.
2023-08-15 23:42:37 +04:00
Bashar Astifan
6522a490e0 [Windows] OSVersion improvements 2023-08-15 23:17:13 +04:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
Unknown W. Brackets
bf8255cbc9 Windows: Workaround buildbot failure.
The SDK on the buildbot doesn't seem to have this define, let's just ifdef
it since the buildbot isn't building arm64 Windows builds anyway.
2019-05-13 19:39:14 -07:00
driver1998
beb8e72f8f Fix GetWindowsSystemArchitecture()
According to https://docs.microsoft.com/en-US/windows/desktop/api/sysinfoapi/ns-sysinfoapi-_system_info, sysinfo.wProcessorArchitecture is not a bitset, the current code returns x64 on anything not x86.
2019-05-04 22:45:15 +08:00
Aaron Kling
d9198ff039 Fix libretro Windows build
1103acd added a reference to std::vector without adding the include
2018-10-31 10:39:44 -05:00
Unknown W. Brackets
f90439a70e Windows: Oops, backwards. 2018-09-30 00:18:45 -07:00
Unknown W. Brackets
1103acdd05 Windows: Detect Windows 10 using kernel32.dll.
This is the recommended way per MSDN.
2018-09-30 00:00:40 -07:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard
acde17e3ce Improvements to D3D11 detection and error handling. 2017-02-23 10:40:55 +01:00
Henrik Rydgard
b5034c4e00 Hide the D3D11 backend if Windows version is older than Win8 2017-02-14 10:33:42 +01:00