소스 검색

PSP: Fixed compile error.

Philipp Wiesemann 10 년 전
부모
커밋
72dc8784b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/thread/psp/SDL_systhread.c

+ 1 - 1
src/thread/psp/SDL_systhread.c

@@ -53,7 +53,7 @@ int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
     }
 
     thread->handle = sceKernelCreateThread(thread->name, ThreadEntry,
-                           priority, thread->stacksize ? ((int) stacksize) : 0x8000,
+                           priority, thread->stacksize ? ((int) thread->stacksize) : 0x8000,
                            PSP_THREAD_ATTR_VFPU, NULL);
     if (thread->handle < 0) {
         return SDL_SetError("sceKernelCreateThread() failed");