Removed a duplicate delay accidentally added during code refactor

(cherry picked from commit 926db1bd544364a9e4ab61e60bcfbe75e05adf56)
This commit is contained in:
Sam Lantinga 2023-03-09 16:11:53 -08:00
parent 3f00fa16c6
commit 1e6ffc6294

View file

@ -448,9 +448,6 @@ static void HIDAPI_SetupDeviceDriver(SDL_HIDAPI_Device *device, SDL_bool *remove
int lock_count = 0;
char *path = SDL_strdup(device->path);
/* Wait a little bit for the device to initialize */
SDL_Delay(10);
SDL_AssertJoysticksLocked();
while (SDL_JoysticksLocked()) {
++lock_count;