Removed a duplicate delay accidentally added during code refactor

This commit is contained in:
Sam Lantinga 2023-03-09 16:11:53 -08:00
parent 645823fc90
commit 926db1bd54
1 changed files with 0 additions and 3 deletions

View File

@ -443,9 +443,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;