WiimoteEmu: Get rid of an unused clamp function

This commit is contained in:
Lioncash 2015-10-02 10:33:29 -04:00
parent fb35371e86
commit 5d8e422d82
1 changed files with 0 additions and 7 deletions

View File

@ -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,