Removed a duplicate delay accidentally added during code refactor
This commit is contained in:
parent
645823fc90
commit
926db1bd54
1 changed files with 0 additions and 3 deletions
|
@ -443,9 +443,6 @@ static void HIDAPI_SetupDeviceDriver(SDL_HIDAPI_Device *device, SDL_bool *remove
|
||||||
int lock_count = 0;
|
int lock_count = 0;
|
||||||
char *path = SDL_strdup(device->path);
|
char *path = SDL_strdup(device->path);
|
||||||
|
|
||||||
/* Wait a little bit for the device to initialize */
|
|
||||||
SDL_Delay(10);
|
|
||||||
|
|
||||||
SDL_AssertJoysticksLocked();
|
SDL_AssertJoysticksLocked();
|
||||||
while (SDL_JoysticksLocked()) {
|
while (SDL_JoysticksLocked()) {
|
||||||
++lock_count;
|
++lock_count;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue