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.
This commit is contained in:
Lioncash 2018-07-12 15:55:39 -04:00
parent 2825b2daa2
commit 5b58977561
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ struct ExtensionReg
}; };
#pragma pack(pop) #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); u8* shake_step);
void EmulateDynamicShake(AccelData* accel, DynamicData& dynamic_data, 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, void EmulateTilt(AccelData* accel, ControllerEmu::Tilt* tilt_group, bool sideways = false,
bool upright = 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); bool sideways = false, bool upright = false);
void EmulateDynamicSwing(AccelData* accel, DynamicData& dynamic_data, void EmulateDynamicSwing(AccelData* accel, DynamicData& dynamic_data,