Add sys/ppu_thread.h headers to ps3_defines.h

This commit is contained in:
twinaphex 2015-09-01 16:12:07 +02:00
parent 26e1de42bf
commit bbbc353f28
2 changed files with 4 additions and 4 deletions

View File

@ -23,10 +23,6 @@
#include "../../defines/ps3_defines.h"
#if defined(__CELLOS_LV2__)
#include <sys/ppu_thread.h>
#endif
#define AUDIO_BLOCKS 8
#define AUDIO_CHANNELS 2

View File

@ -323,12 +323,16 @@ extern int audioAddData(uint32_t portNum, float *data, uint32_t frames, float vo
============================================================ */
#ifdef __PSL1GHT__
#include <sys/thread.h>
/* define all the thread functions */
#define sys_ppu_thread_create sysThreadCreate
#define sys_ppu_thread_join sysThreadJoin
#define sys_ppu_thread_exit sysThreadExit
#define SYS_PPU_THREAD_CREATE_JOINABLE 0 /* FIXME - not sure if this is correct */
#elif defined(__CELLOS_LV2__)
#include <sys/ppu_thread.h>
#endif
/*============================================================