Permalink
Browse files

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.
  • Loading branch information...
lioncash committed Jul 12, 2018
1 parent 2825b2d commit 5b5897756118e7417168bb19d9cc1a11ae950cf7
Showing with 2 additions and 2 deletions.
  1. +2 −2 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,

0 comments on commit 5b58977

Please sign in to comment.