Removed a duplicate delay accidentally added during code refactor

This commit is contained in:
Sam Lantinga committed 2023-03-09 16:12:49 -08:00
1 parent 645823fc90
commit 926db1bd54
1 file changed
-3
-3
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;