소스 검색

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

ds-sloth 6 달 전
부모
커밋
0306b5a865
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }