Fix emulated Wiimotes

This commit is contained in:
Léo Lam 2017-04-26 23:30:24 +02:00
parent 341fefd65a
commit 6c1c8e03b8
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ enum ReportType
// Source: http://wiibrew.org/wiki/Wiimote // Source: http://wiibrew.org/wiki/Wiimote
// Custom structs // Custom structs
#pragma pack(push, 1)
union wm_buttons // also just called "core data" union wm_buttons // also just called "core data"
{ {
u16 hex; u16 hex;
@ -462,3 +462,4 @@ struct wm_speaker_data
u8 length : 5; u8 length : 5;
u8 data[20]; u8 data[20];
}; };
#pragma pack(pop)