commit | 8cc3b1b4e6c571952f29765f2207cf27832f1464 | [log] [tgz] |
---|---|---|
author | Cameron Gutman <aicommander@gmail.com> | Sat Aug 29 16:50:26 2020 -0700 |
committer | Cameron Gutman <aicommander@gmail.com> | Sat Aug 29 16:50:26 2020 -0700 |
tree | 74314837bea50155d0585bab3678020764b53179 | |
parent | e7325b3cd94fd137f0447d50721328d2c31b8dd0 [diff] |
Fix joystick device add events containing invalid device indexes This can happen if the application has not yet processed SDL_JOYDEVICEADD when the same joystick is removed. It may also happen if two joysticks are added and the second joystick is removed before the first joystick's SDL_JOYDEVICEADD has been processed by the application.