From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14
---
source/src/thread/psp/SDL_systhread.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/source/src/thread/psp/SDL_systhread.c b/source/src/thread/psp/SDL_systhread.c
index c292afa..789f9a0 100644
--- a/source/src/thread/psp/SDL_systhread.c
+++ b/source/src/thread/psp/SDL_systhread.c
@@ -37,11 +37,11 @@
static int ThreadEntry(SceSize args, void *argp)
{
- SDL_RunThread(*(void **) argp);
+ SDL_RunThread(*(SDL_Thread **) argp);
return 0;
}
-int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
+int SDL_SYS_CreateThread(SDL_Thread *thread)
{
SceKernelThreadInfo status;
int priority = 32;
@@ -59,7 +59,7 @@
return SDL_SetError("sceKernelCreateThread() failed");
}
- sceKernelStartThread(thread->handle, 4, &args);
+ sceKernelStartThread(thread->handle, 4, &thread);
return 0;
}
--
Gitblit v1.9.3