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");