mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-27 03:39:57 +00:00
WiimoteEmu: Get rid of an unused clamp function
This commit is contained in:
parent
fb35371e86
commit
5d8e422d82
@ -80,13 +80,6 @@ void EmulateSwing(AccelData* const accel
|
|||||||
, ControllerEmu::Force* const tilt_group
|
, ControllerEmu::Force* const tilt_group
|
||||||
, const bool sideways = false, const bool upright = false);
|
, const bool sideways = false, const bool upright = false);
|
||||||
|
|
||||||
inline double trim(double a)
|
|
||||||
{
|
|
||||||
if (a<=0) return 0;
|
|
||||||
if (a>=255) return 255;
|
|
||||||
return a;
|
|
||||||
}
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
ACCEL_ZERO_G = 0x80,
|
ACCEL_ZERO_G = 0x80,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user