mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 19:19:41 +08:00
Removed a duplicate delay accidentally added during code refactor
(cherry picked from commit 926db1bd54)
This commit is contained in:
@@ -448,9 +448,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user