Revert "fix/sdl3-gamepad-bugs (#19)" (#116)

This reverts commit 7f0e82fe48.

Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/116
This commit is contained in:
Max
2026-05-27 14:10:33 +00:00
committed by sh0inx
parent e02081c09e
commit fa72b5a298
3 changed files with 25 additions and 16 deletions

View File

@@ -155,9 +155,7 @@ namespace Ryujinx.Input.SDL3
result |= GamepadFeaturesFlag.Led;
}
SDL_UnlockProperties(propID);
// NOTE: Do not call SDL_DestroyProperties here. These properties are owned
// internally by SDL and are freed when SDL_CloseGamepad is called (in Dispose).
SDL_DestroyProperties(propID);
return result;
}