diff --git a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h index 39f4c5705a..e641b85d8b 100644 --- a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h +++ b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h @@ -89,7 +89,8 @@ struct OutputReportLeds u8 rumble : 1; u8 ack : 1; - u8 : 2; + // This field must be named to work around a msvc bug. + u8 _padding : 2; u8 leds : 4; }; static_assert(sizeof(OutputReportLeds) == 1, "Wrong size");