diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h index a62d2919cd..82185adfc6 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h @@ -80,13 +80,6 @@ void EmulateSwing(AccelData* const accel , ControllerEmu::Force* const tilt_group , 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 { ACCEL_ZERO_G = 0x80,