mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-29 01:20:28 +00:00
Merge pull request #3118 from lioncash/junk
WiimoteEmu: Get rid of an unused clamp function
This commit is contained in:
commit
f1a43dc6d4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user