author Cameron Gutman
Sat, 29 Aug 2020 16:50:26 -0700
changeset 14422 8d5e22789f3f
parent 7924 fcb86d323770
permissions -rw-r--r--
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.
     1 start /wait testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1
     2 if %ERRORLEVEL% NEQ 0 echo TEST RUN FAILED (see testrun.log)