Commit Graph

21 Commits

Author SHA1 Message Date
Henrik Rydgård a0fef38f69 Default to Vulkan on Win10+ (previously Win11+). Set UI scaling default to -1 on all desktops. 2025-07-20 19:05:38 +02:00
Henrik Rydgård fa04337654 On Windows 11, start defaulting to Vulkan. 2025-06-10 21:24:31 +02:00
Bashar Astifan e7d7d89066 Simplify & win11-build check fix
Without build check on Windows 10 it will appear as Windows 11, I forgot to keep build check, also the process can be simplified more to avoid extra functions.
2024-09-04 22:56:37 +04:00
Bashar Astifan f1771b9474 OS Version UWP, Win32 2024-09-03 20:07:57 +04:00
Bashar Astifan b235d4b218 OS Version preview 2024-09-03 15:58:35 +04:00
Herman Semenov 2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
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