Fix n3ds/SDL_syssem.c:SDL_SignalSemaphore (libsdl-org/SDL#12411)

This commit is contained in:
ds-sloth 2025-03-07 20:03:37 -05:00 committed by Sam Lantinga
parent 3353b92a96
commit 0306b5a865
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ Uint32 SDL_GetSemaphoreValue(SDL_Semaphore *sem)
void SDL_SignalSemaphore(SDL_Semaphore *sem)
{
if (sem) {
if (!sem) {
return;
}