diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-10-02 10:33:29 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-10-02 10:33:29 -0400 |
| commit | 5d8e422d82253ff60966274e533aadb16ada2e2b (patch) | |
| tree | e3fd2e1e7caf02dab69199f15f399572555feb82 /Source | |
| parent | fb35371e869dfc73176540f0209e53390f346725 (diff) | |
WiimoteEmu: Get rid of an unused clamp function
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h | 7 |
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, |
