Sfoglia il codice sorgente

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

ds-sloth 6 mesi fa
parent
commit
0306b5a865
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/thread/n3ds/SDL_syssem.c

+ 1 - 1
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;
     }