Skip to content

Commit

Permalink
[PSP] Bake pthreads with griffin
Browse files Browse the repository at this point in the history
  • Loading branch information
frangarcj committed Dec 26, 2017
1 parent 2768f63 commit 73e81db
Show file tree
Hide file tree
Showing 4 changed files with 948 additions and 4 deletions.
1 change: 0 additions & 1 deletion Makefile.psp1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions audio/drivers/psp_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading

0 comments on commit 73e81db

Please sign in to comment.