mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-06-19 08:37:47 +00:00
Removed a duplicate delay accidentally added during code refactor
(cherry picked from commit 926db1bd544364a9e4ab61e60bcfbe75e05adf56)
This commit is contained in:
parent
3f00fa16c6
commit
1e6ffc6294
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue