Skip to content

Commit

Permalink
Merge pull request #3118 from lioncash/junk
Browse files Browse the repository at this point in the history
WiimoteEmu: Get rid of an unused clamp function
  • Loading branch information
phire committed Oct 3, 2015
2 parents bcee41b + 5d8e422 commit f1a43dc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h
Expand Up @@ -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,
Expand Down

0 comments on commit f1a43dc

Please sign in to comment.