Explorar o código

PSP: Fixed compile error.

Philipp Wiesemann %!s(int64=10) %!d(string=hai) anos
pai
achega
72dc8784b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");