mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-10 04:16:36 -05:00
HAX: Try using 0x7fff instead of SDL_HAPTIC_INFINITY length.
This commit is contained in:
@@ -346,7 +346,8 @@ public:
|
||||
condition.direction.type = SDL_HAPTIC_STEERING_AXIS;
|
||||
|
||||
// Is "infinity" always supported ?
|
||||
condition.length = SDL_HAPTIC_INFINITY;
|
||||
// condition.length = SDL_HAPTIC_INFINITY;
|
||||
condition.length = 0x7fff;
|
||||
|
||||
const auto unsigned_gain = ControllerEmu::MapFloat<u16>(gain, 0);
|
||||
condition.right_sat[0] = unsigned_gain;
|
||||
|
||||
Reference in New Issue
Block a user