From 5b5897756118e7417168bb19d9cc1a11ae950cf7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 12 Jul 2018 15:55:39 -0400 Subject: [PATCH] WiimoteEmu: Amend parameter names for EmulateShake() and EmulateSwing() Ensures they match their naming within the definition of the function. In EmulateSwing's case, one parameter was erroneously named tilt_group, when it's actually supposed to be swing_group. --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h index 4cd74015de..cfb560927c 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h @@ -181,7 +181,7 @@ struct ExtensionReg }; #pragma pack(pop) -void EmulateShake(AccelData* accel_data, ControllerEmu::Buttons* buttons_group, double intensity, +void EmulateShake(AccelData* accel, ControllerEmu::Buttons* buttons_group, double intensity, u8* shake_step); void EmulateDynamicShake(AccelData* accel, DynamicData& dynamic_data, @@ -191,7 +191,7 @@ void EmulateDynamicShake(AccelData* accel, DynamicData& dynamic_data, void EmulateTilt(AccelData* accel, ControllerEmu::Tilt* tilt_group, bool sideways = false, bool upright = false); -void EmulateSwing(AccelData* accel, ControllerEmu::Force* tilt_group, double intensity, +void EmulateSwing(AccelData* accel, ControllerEmu::Force* swing_group, double intensity, bool sideways = false, bool upright = false); void EmulateDynamicSwing(AccelData* accel, DynamicData& dynamic_data,