From 6c1c8e03b89b853154b2ba92655679efa0f7bd95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 26 Apr 2017 23:30:24 +0200 Subject: [PATCH] Fix emulated Wiimotes --- Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h index d0d288aa4b..7596c6d64c 100644 --- a/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h +++ b/Source/Core/Core/HW/WiimoteCommon/WiimoteReport.h @@ -42,7 +42,7 @@ enum ReportType // Source: http://wiibrew.org/wiki/Wiimote // Custom structs - +#pragma pack(push, 1) union wm_buttons // also just called "core data" { u16 hex; @@ -462,3 +462,4 @@ struct wm_speaker_data u8 length : 5; u8 data[20]; }; +#pragma pack(pop)