diff options
| author | Mai M <mathew1800@gmail.com> | 2021-11-11 17:29:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-11 17:29:37 -0500 |
| commit | c55721c754cebdecd68ef6873c1f1837776322fc (patch) | |
| tree | 0c334442e3f6b561be56283bbb76d821cfd0e87b /Source | |
| parent | aa6db1e029f513b3eb4b1d418a61dbc8eca20a41 (diff) | |
| parent | 58dc9e70499bb51dc355ada9dbd658b037fd1aa6 (diff) | |
Merge pull request #10210 from shuffle2/vs2022
msvc: update to vs2022 and windows sdk 10.0.22000
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/SCMRevGen.vcxproj | 2 | ||||
| -rw-r--r-- | Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp | 3 | ||||
| -rw-r--r-- | Source/PCH/pch.h | 8 | ||||
| -rw-r--r-- | Source/VSProps/Base.Macros.props | 3 | ||||
| -rw-r--r-- | Source/VSProps/Configuration.Base.props | 2 | ||||
| -rw-r--r-- | Source/dolphin-emu.sln | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/Common/SCMRevGen.vcxproj b/Source/Core/Common/SCMRevGen.vcxproj index 938df1c6f7..52d8cb7ef4 100644 --- a/Source/Core/Common/SCMRevGen.vcxproj +++ b/Source/Core/Common/SCMRevGen.vcxproj @@ -26,7 +26,7 @@ <PropertyGroup Label="Configuration"> <ConfigurationType>Utility</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp index 63aa016322..b311261997 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp @@ -926,7 +926,8 @@ void JitArm64::mtfsfx(UGeckoInstruction inst) if (LogicalImm imm = LogicalImm(mask, 32)) { - AND(WA, WA, LogicalImm(~mask, 32)); + const u32 inverted_mask = ~mask; + AND(WA, WA, LogicalImm(inverted_mask, 32)); AND(WB, WB, imm); } else diff --git a/Source/PCH/pch.h b/Source/PCH/pch.h index 976b6cfc56..7996c611d4 100644 --- a/Source/PCH/pch.h +++ b/Source/PCH/pch.h @@ -6,15 +6,15 @@ #define STRINGIFY_HELPER(x) #x #define STRINGIFY(x) STRINGIFY_HELPER(x) -#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192930133 +#if defined _MSC_FULL_VER && _MSC_FULL_VER < 193030705 #pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER)) -#error Please update your build environment to the latest Visual Studio 2019! +#error Please update your build environment to the latest Visual Studio 2022! #endif #include <sdkddkver.h> -#ifndef NTDDI_WIN10_VB +#ifndef NTDDI_WIN10_CO #pragma message("Current WDK_NTDDI_VERSION: " STRINGIFY(WDK_NTDDI_VERSION)) -#error Windows 10.0.19041 SDK or later is required +#error Windows 10.0.22000 SDK or later is required #endif #undef STRINGIFY diff --git a/Source/VSProps/Base.Macros.props b/Source/VSProps/Base.Macros.props index c8ec8c9178..1c7fd0d7cf 100644 --- a/Source/VSProps/Base.Macros.props +++ b/Source/VSProps/Base.Macros.props @@ -11,8 +11,7 @@ <ExternalsDir>$(DolphinRootDir)Externals\</ExternalsDir> <SourceDir>$(DolphinRootDir)Source\</SourceDir> <CoreDir>$(SourceDir)Core\</CoreDir> - <CScript Condition="'$(ProgramFiles(x86))' != ''">%windir%\System32\cscript</CScript> - <CScript Condition="'$(ProgramFiles(x86))' == ''">%windir%\Sysnative\cscript</CScript> + <CScript>%windir%\System32\cscript</CScript> <VSPropsDir>$(SourceDir)VSProps\</VSPropsDir> </PropertyGroup> <PropertyGroup> diff --git a/Source/VSProps/Configuration.Base.props b/Source/VSProps/Configuration.Base.props index 928c6dad77..b74336e634 100644 --- a/Source/VSProps/Configuration.Base.props +++ b/Source/VSProps/Configuration.Base.props @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Label="Configuration"> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> <PreferredToolArchitecture>x64</PreferredToolArchitecture> <!-- To use ASAN, just uncomment this. For simplicity, you should run VS/windbg/etc diff --git a/Source/dolphin-emu.sln b/Source/dolphin-emu.sln index 1fdc7499b3..8e83448257 100644 --- a/Source/dolphin-emu.sln +++ b/Source/dolphin-emu.sln @@ -1,7 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29519.181 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dolphin", "Core\DolphinQt\DolphinQt.vcxproj", "{FA3FA62B-6F58-4B86-9453-4D149940A066}" EndProject |
