mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 22:20:59 +00:00
Add sys/ppu_thread.h headers to ps3_defines.h
This commit is contained in:
parent
26e1de42bf
commit
bbbc353f28
@ -23,10 +23,6 @@
|
|||||||
|
|
||||||
#include "../../defines/ps3_defines.h"
|
#include "../../defines/ps3_defines.h"
|
||||||
|
|
||||||
#if defined(__CELLOS_LV2__)
|
|
||||||
#include <sys/ppu_thread.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define AUDIO_BLOCKS 8
|
#define AUDIO_BLOCKS 8
|
||||||
#define AUDIO_CHANNELS 2
|
#define AUDIO_CHANNELS 2
|
||||||
|
|
||||||
|
@ -323,12 +323,16 @@ extern int audioAddData(uint32_t portNum, float *data, uint32_t frames, float vo
|
|||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
#ifdef __PSL1GHT__
|
#ifdef __PSL1GHT__
|
||||||
|
#include <sys/thread.h>
|
||||||
|
|
||||||
/* define all the thread functions */
|
/* define all the thread functions */
|
||||||
#define sys_ppu_thread_create sysThreadCreate
|
#define sys_ppu_thread_create sysThreadCreate
|
||||||
#define sys_ppu_thread_join sysThreadJoin
|
#define sys_ppu_thread_join sysThreadJoin
|
||||||
#define sys_ppu_thread_exit sysThreadExit
|
#define sys_ppu_thread_exit sysThreadExit
|
||||||
|
|
||||||
#define SYS_PPU_THREAD_CREATE_JOINABLE 0 /* FIXME - not sure if this is correct */
|
#define SYS_PPU_THREAD_CREATE_JOINABLE 0 /* FIXME - not sure if this is correct */
|
||||||
|
#elif defined(__CELLOS_LV2__)
|
||||||
|
#include <sys/ppu_thread.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user