mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-23 09:19:42 +00:00
common: Drop windows 8.1 and server 2012 r2 support.
We already require windows 10 (build 1809) with the recent recompiler changes.
This commit is contained in:
parent
e212c611be
commit
dda0b6c296
@ -52,9 +52,7 @@ std::unique_ptr<HTTPDownloader> HTTPDownloader::Create(const char* user_agent)
|
||||
|
||||
bool HTTPDownloaderWinHttp::Initialize(const char* user_agent)
|
||||
{
|
||||
// WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY is not supported before Win8.1.
|
||||
const DWORD dwAccessType =
|
||||
IsWindows8Point1OrGreater() ? WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY : WINHTTP_ACCESS_TYPE_DEFAULT_PROXY;
|
||||
const DWORD dwAccessType = WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY;
|
||||
|
||||
m_hSession = WinHttpOpen(StringUtil::UTF8StringToWideString(user_agent).c_str(), dwAccessType, nullptr, nullptr,
|
||||
WINHTTP_FLAG_ASYNC);
|
||||
|
@ -64,19 +64,14 @@ std::string GetOSVersionString()
|
||||
SYSTEM_INFO si;
|
||||
GetNativeSystemInfo(&si);
|
||||
|
||||
if (!IsWindows8Point1OrGreater())
|
||||
{
|
||||
retval = "Unsupported Operating System!";
|
||||
}
|
||||
else
|
||||
if (IsWindows10OrGreater())
|
||||
{
|
||||
retval = "Microsoft ";
|
||||
|
||||
if (IsWindows10OrGreater())
|
||||
retval += IsWindowsServer() ? "Windows Server 2016" : "Windows 10";
|
||||
else // IsWindows8Point1OrGreater()
|
||||
retval += IsWindowsServer() ? "Windows Server 2012 R2" : "Windows 8.1";
|
||||
retval += IsWindowsServer() ? "Windows Server 2016" : "Windows 10";
|
||||
|
||||
}
|
||||
else
|
||||
retval = "Unsupported Operating System!";
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user