diff options
| author | Mary <me@thog.eu> | 2021-08-26 22:26:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 22:26:28 +0200 |
| commit | 6d9bc7cf90e8016feea97eedb3cdd562c4628026 (patch) | |
| tree | 89314a3534269cf090e9ff45628dfe2c1842cf9c /Ryujinx.SDL2.Common | |
| parent | 5e99bff7deb51ad6d69d2393bc267a8a9428058c (diff) | |
sdl2: Update to Ryujinx.SDL2-CS 2.0.17 (#2553)
* sdl2: Update to Ryujinx.SDL2-CS 2.0.17
Update to latest SDL2 commit
* Update to Ryujinx.SDL2-CS 2.0.17-build18
Diffstat (limited to 'Ryujinx.SDL2.Common')
| -rw-r--r-- | Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj | 2 | ||||
| -rw-r--r-- | Ryujinx.SDL2.Common/SDL2Driver.cs | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj b/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj index 50b1ec2f..16eb3b3c 100644 --- a/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj +++ b/Ryujinx.SDL2.Common/Ryujinx.SDL2.Common.csproj @@ -5,7 +5,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Ryujinx.SDL2-CS" Version="2.0.15-build11" /> + <PackageReference Include="Ryujinx.SDL2-CS" Version="2.0.17-build18" /> </ItemGroup> <ItemGroup> diff --git a/Ryujinx.SDL2.Common/SDL2Driver.cs b/Ryujinx.SDL2.Common/SDL2Driver.cs index cc8e7614..944f8e57 100644 --- a/Ryujinx.SDL2.Common/SDL2Driver.cs +++ b/Ryujinx.SDL2.Common/SDL2Driver.cs @@ -56,9 +56,8 @@ namespace Ryujinx.SDL2.Common SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1"); SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1"); SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1"); - // TODO: Add this in nuget package once SDL2 2.0.15 hit stable release. - SDL_SetHint("SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED", "0"); - SDL_SetHint("SDL_JOYSTICK_HIDAPI_JOY_CONS", "1"); + SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED, "0"); + SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS, "1"); if (SDL_Init(SdlInitFlags) != 0) { |
