mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
[PSP] Bake pthreads with griffin
This commit is contained in:
parent
2768f639a2
commit
73e81dba96
@ -33,7 +33,6 @@ LIBS = $(WHOLE_START) -lretro_psp1 $(WHOLE_END) -lstdc++ -lpspgu -lpspgum -lm -l
|
||||
|
||||
ifeq ($(HAVE_THREADS), 1)
|
||||
RARCH_DEFINES += -DHAVE_THREADS
|
||||
LIBS += -lpthread-psp
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_FILE_LOGGER), 1)
|
||||
|
@ -63,8 +63,7 @@ typedef struct psp_audio
|
||||
#ifdef VITA
|
||||
#define PSP_THREAD_STOPPED SCE_THREAD_STOPPED
|
||||
#else
|
||||
#define SceKernelThreadInfo SceKernelThreadRunStatus
|
||||
#define sceKernelGetThreadInfo sceKernelReferThreadRunStatus
|
||||
#define sceKernelGetThreadInfo sceKernelReferThreadStatus
|
||||
#endif
|
||||
|
||||
static int audioMainLoop(SceSize args, void* argp)
|
||||
|
925
deps/pthreads/platform/psp/psp_osal.c
vendored
925
deps/pthreads/platform/psp/psp_osal.c
vendored
File diff suppressed because one or more lines are too long
@ -977,6 +977,29 @@ THREAD
|
||||
#if defined(HAVE_THREADS) && defined(XENON)
|
||||
#include "../thread/xenon_sdl_threads.c"
|
||||
#elif defined(HAVE_THREADS)
|
||||
|
||||
#if defined(PSP)
|
||||
#include "../deps/pthreads/platform/helper/tls-helper.c"
|
||||
#include "../deps/pthreads/platform/psp/psp_osal.c"
|
||||
#include "../deps/pthreads/pte_main.c"
|
||||
#include "../deps/pthreads/pte.c"
|
||||
#include "../deps/pthreads/pthread_attr.c"
|
||||
#include "../deps/pthreads/pthread_barrier.c"
|
||||
#include "../deps/pthreads/pthread_cond.c"
|
||||
#include "../deps/pthreads/pthread_condattr.c"
|
||||
#include "../deps/pthreads/pthread_get.c"
|
||||
#include "../deps/pthreads/pthread_key.c"
|
||||
#include "../deps/pthreads/pthread_mutex.c"
|
||||
#include "../deps/pthreads/pthread_mutexattr.c"
|
||||
#include "../deps/pthreads/pthread_rwlock.c"
|
||||
#include "../deps/pthreads/pthread_rwlockattr.c"
|
||||
#include "../deps/pthreads/pthread_set.c"
|
||||
#include "../deps/pthreads/pthread_spin.c"
|
||||
#include "../deps/pthreads/pthread.c"
|
||||
#include "../deps/pthreads/sched.c"
|
||||
#include "../deps/pthreads/sem.c"
|
||||
#endif
|
||||
|
||||
#include "../libretro-common/rthreads/rthreads.c"
|
||||
#include "../gfx/video_thread_wrapper.c"
|
||||
#include "../audio/audio_thread_wrapper.c"
|
||||
|
Loading…
Reference in New Issue
Block a user