From 0306b5a865b7e7e8ff52f107c00c002cdddaae02 Mon Sep 17 00:00:00 2001 From: ds-sloth <72112344+ds-sloth@users.noreply.github.com> Date: Fri, 7 Mar 2025 20:03:37 -0500 Subject: [PATCH] Fix n3ds/SDL_syssem.c:SDL_SignalSemaphore (libsdl-org/SDL#12411) --- src/thread/n3ds/SDL_syssem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/n3ds/SDL_syssem.c b/src/thread/n3ds/SDL_syssem.c index 3207a2dfc0..c03030b2de 100644 --- a/src/thread/n3ds/SDL_syssem.c +++ b/src/thread/n3ds/SDL_syssem.c @@ -102,7 +102,7 @@ Uint32 SDL_GetSemaphoreValue(SDL_Semaphore *sem) void SDL_SignalSemaphore(SDL_Semaphore *sem) { - if (sem) { + if (!sem) { return; }