PSP: Fixed compile error.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 14 Apr 2016 21:09:45 +0200
changeset 10151 33d1646359f0
parent 10150 8387a58a5c19
child 10152 4960666f31ac
PSP: Fixed compile error.
src/thread/psp/SDL_systhread.c
--- 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");