mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Patched to compile.
This commit is contained in:
parent
850da32f30
commit
06dcdc7d48
@ -804,7 +804,7 @@ ALSA_HotplugThread(void *arg)
|
|||||||
|
|
||||||
/* Block awhile before checking again, unless we're told to stop. */
|
/* Block awhile before checking again, unless we're told to stop. */
|
||||||
ticks = SDL_GetTicks() + 5000;
|
ticks = SDL_GetTicks() + 5000;
|
||||||
while (!SDL_AtomicGet(&ALSA_hotplug_shutdown) && !SDL_TICKS_PASSED(SDL_GetTicks(), ticks))
|
while (!SDL_AtomicGet(&ALSA_hotplug_shutdown) && !SDL_TICKS_PASSED(SDL_GetTicks(), ticks)) {
|
||||||
SDL_Delay(100);
|
SDL_Delay(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user