mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-05 15:03:43 +00:00
Fixed n3ds build
This commit is contained in:
parent
cdc40ee054
commit
d95dbe78bb
1 changed files with 2 additions and 2 deletions
|
@ -139,9 +139,9 @@ SDL_bool SDL_JoysticksQuitting(void)
|
||||||
|
|
||||||
void SDL_LockJoysticks(void)
|
void SDL_LockJoysticks(void)
|
||||||
{
|
{
|
||||||
SDL_AtomicIncRef(&SDL_joystick_lock_pending);
|
(void)SDL_AtomicIncRef(&SDL_joystick_lock_pending);
|
||||||
SDL_LockMutex(SDL_joystick_lock);
|
SDL_LockMutex(SDL_joystick_lock);
|
||||||
SDL_AtomicDecRef(&SDL_joystick_lock_pending);
|
(void)SDL_AtomicDecRef(&SDL_joystick_lock_pending);
|
||||||
|
|
||||||
++SDL_joysticks_locked;
|
++SDL_joysticks_locked;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue