diff options
| author | LC <mathew1800@gmail.com> | 2021-01-10 01:46:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-10 01:46:28 -0500 |
| commit | 75e19a0c29028b2fcde9a5d653ce8b5f4a6779c4 (patch) | |
| tree | c85802a58d0aa82cffecf3ae3692377f165bfd29 /Source | |
| parent | 1f0e3371a360293a87a81a46c11b305bb0a76e88 (diff) | |
| parent | cce275c16e792786701d04ee4b0f787bd928a996 (diff) | |
Merge pull request #9430 from shuffle2/vsupdate
Bump msvc version check and revert a msvc workaround
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h | 3 | ||||
| -rw-r--r-- | Source/PCH/pch.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h index 158552b143..803e2e48ba 100644 --- a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h +++ b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h @@ -89,8 +89,7 @@ struct OutputReportLeds u8 rumble : 1; u8 ack : 1; - // This field must be named to work around a msvc bug. - u8 _padding : 2; + u8 : 2; u8 leds : 4; }; static_assert(sizeof(OutputReportLeds) == 1, "Wrong size"); diff --git a/Source/PCH/pch.h b/Source/PCH/pch.h index 2a2f02f3bf..e826d335ef 100644 --- a/Source/PCH/pch.h +++ b/Source/PCH/pch.h @@ -7,7 +7,7 @@ #define STRINGIFY_HELPER(x) #x #define STRINGIFY(x) STRINGIFY_HELPER(x) -#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192729111 +#if defined _MSC_FULL_VER && _MSC_FULL_VER < 192829335 #pragma message("Current _MSC_FULL_VER: " STRINGIFY(_MSC_FULL_VER)) #error Please update your build environment to the latest Visual Studio 2019! #endif |
