From 3a36c964f584fc57234ef7ed9e01df66a62e7207 Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 5 Nov 2017 13:13:25 +0100 Subject: [PATCH] WiimoteEmu: Don't set pack pragma for STL objects. --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h index 09ae20b56c..cf468226e4 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h @@ -151,6 +151,7 @@ struct ExtensionReg // address 0xFA u8 constant_id[6]; }; +#pragma pack(pop) void EmulateShake(AccelData* const accel_data, ControllerEmu::Buttons* const buttons_group, u8* const shake_step); @@ -291,6 +292,7 @@ private: wiimote_key m_ext_key; +#pragma pack(push, 1) u8 m_eeprom[WIIMOTE_EEPROM_SIZE]; struct MotionPlusReg {