summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-10-02 10:33:29 -0400
committerLioncash <mathew1800@gmail.com>2015-10-02 10:33:29 -0400
commit5d8e422d82253ff60966274e533aadb16ada2e2b (patch)
treee3fd2e1e7caf02dab69199f15f399572555feb82 /Source
parentfb35371e869dfc73176540f0209e53390f346725 (diff)
WiimoteEmu: Get rid of an unused clamp function
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h7
1 files changed, 0 insertions, 7 deletions
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,