Wii U platform support

This commit is contained in:
GaryOderNichts committed 2021-06-04 21:36:54 +02:00
1 parent 509a17dbc3
commit 0c66a50e2d
4 files changed
+76 -1

No files matched your search

+11
View File
@@ -25,6 +25,17 @@ typedef struct _PLT_THREAD {
void *context;
bool alive;
} PLT_THREAD;
#elif defined(__WIIU__)
typedef OSMutex PLT_MUTEX;
typedef struct _PLT_EVENT {
OSMutex mutex;
OSCondition cond;
int signalled;
} PLT_EVENT;
typedef struct _PLT_THREAD {
OSThread thread;
int cancelled;
} PLT_THREAD;
#elif defined (LC_POSIX)
typedef pthread_mutex_t PLT_MUTEX;
typedef struct _PLT_EVENT {