diff options
| author | Mary <me@thog.eu> | 2021-04-15 22:20:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-15 17:20:27 -0300 |
| commit | 84415eaf003c2c31ed8a7745863533910cebf73f (patch) | |
| tree | f7512d96491532a50e951c55dea60cd69cf44479 | |
| parent | e520eecb5ba682d4b51bb782e3bc99fb1d6afe04 (diff) | |
Miria: Fix Group Policy related crashes (#2212)
We actually don't need to init sensors or haptic to get motion or rumble
working on game controllers.
This fix a group policy issue on some Windows 10 Pro when trying to init
the SDL2 sensors APIs.
| -rw-r--r-- | Ryujinx.Input.SDL2/SDL2Driver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Input.SDL2/SDL2Driver.cs b/Ryujinx.Input.SDL2/SDL2Driver.cs index be709043..f77bb1d5 100644 --- a/Ryujinx.Input.SDL2/SDL2Driver.cs +++ b/Ryujinx.Input.SDL2/SDL2Driver.cs @@ -25,7 +25,7 @@ namespace Ryujinx.Input.SDL2 } } - private const uint SdlInitFlags = SDL_INIT_EVENTS | SDL_INIT_GAMECONTROLLER | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_SENSOR; + private const uint SdlInitFlags = SDL_INIT_EVENTS | SDL_INIT_GAMECONTROLLER | SDL_INIT_JOYSTICK; private bool _isRunning; private uint _refereceCount; |
