mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-28 06:40:00 +00:00
Add platform support for the 3DS
Prevent wildcard port binding on the 3DS Add 3DS threading logic Add 3DS socket logic Bump the connection timeout to 60s for the 3DS
This commit is contained in:
1 parent
2597b5e779
commit
c104a97fa0
6 files changed
+125
-26
No files matched your search
@@ -28,6 +28,13 @@ typedef struct _PLT_THREAD {
|
||||
OSThread thread;
|
||||
int cancelled;
|
||||
} PLT_THREAD;
|
||||
#elif defined(__3DS__)
|
||||
typedef LightLock PLT_MUTEX;
|
||||
typedef CondVar PLT_COND;
|
||||
typedef struct _PLT_THREAD {
|
||||
Thread thread;
|
||||
bool cancelled;
|
||||
} PLT_THREAD;
|
||||
#elif defined (LC_POSIX)
|
||||
typedef pthread_mutex_t PLT_MUTEX;
|
||||
typedef pthread_cond_t PLT_COND;
|
||||
|
||||
Reference in new issue
Block a user