diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-10-03 16:21:00 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-10-03 16:21:00 +1300 |
| commit | f1a43dc6d420554a1ce96e59f8bb7ceee437f02e (patch) | |
| tree | 0165553d33b90c90431bfe628134bc74977f8dc6 /Source/Core | |
| parent | bcee41b65d56a5d923d7f5cecd5bb2d2efee11eb (diff) | |
| parent | 5d8e422d82253ff60966274e533aadb16ada2e2b (diff) | |
Merge pull request #3118 from lioncash/junk
WiimoteEmu: Get rid of an unused clamp function
Diffstat (limited to 'Source/Core')
| -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, |
