mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +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)
|
ifeq ($(HAVE_THREADS), 1)
|
||||||
RARCH_DEFINES += -DHAVE_THREADS
|
RARCH_DEFINES += -DHAVE_THREADS
|
||||||
LIBS += -lpthread-psp
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_FILE_LOGGER), 1)
|
ifeq ($(HAVE_FILE_LOGGER), 1)
|
||||||
|
@ -63,8 +63,7 @@ typedef struct psp_audio
|
|||||||
#ifdef VITA
|
#ifdef VITA
|
||||||
#define PSP_THREAD_STOPPED SCE_THREAD_STOPPED
|
#define PSP_THREAD_STOPPED SCE_THREAD_STOPPED
|
||||||
#else
|
#else
|
||||||
#define SceKernelThreadInfo SceKernelThreadRunStatus
|
#define sceKernelGetThreadInfo sceKernelReferThreadStatus
|
||||||
#define sceKernelGetThreadInfo sceKernelReferThreadRunStatus
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int audioMainLoop(SceSize args, void* argp)
|
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)
|
#if defined(HAVE_THREADS) && defined(XENON)
|
||||||
#include "../thread/xenon_sdl_threads.c"
|
#include "../thread/xenon_sdl_threads.c"
|
||||||
#elif defined(HAVE_THREADS)
|
#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 "../libretro-common/rthreads/rthreads.c"
|
||||||
#include "../gfx/video_thread_wrapper.c"
|
#include "../gfx/video_thread_wrapper.c"
|
||||||
#include "../audio/audio_thread_wrapper.c"
|
#include "../audio/audio_thread_wrapper.c"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user