src/thread/psp/SDL_systhread.c
changeset 10151 33d1646359f0
parent 10145 cd87106d1d47
--- a/src/thread/psp/SDL_systhread.c	Wed Apr 13 21:59:50 2016 -0400
+++ b/src/thread/psp/SDL_systhread.c	Thu Apr 14 21:09:45 2016 +0200
@@ -53,7 +53,7 @@
     }
 
     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");