Skip to content

Conversation

eafton
Copy link
Contributor

@eafton eafton commented Oct 2, 2025

Adds hwdata NULL checks for JoystickRumble and JoystickClose.

Hopefully fixes #14067.

@slouken
Copy link
Collaborator

slouken commented Oct 8, 2025

The root cause of this (object validation being disabled) has been fixed in main. The pointer being passed to SDL_CloseGamepad() is no longer a valid pointer, so checking for hwdata being NULL is not guaranteed to be a good way to catch this.

@slouken slouken closed this Oct 8, 2025
@eafton eafton deleted the patch-2 branch October 8, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JoystickClose crashing on Xinput check (even controllers that aren't xinput)
2 participants