mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-07-20 22:02:38 +00:00
Improve 3DS Reliability (#87)
- Simplifies thread priority setup - Sets a max socket buffer size of 0x20000 for the 3DS - Fixes a bug with polling timeouts taking longer than intended - Removes 3DS global socket definition
This commit is contained in:
+1
-1
@@ -279,8 +279,8 @@ int PltCreateThread(const char* name, ThreadEntry entry, void* context, PLT_THRE
|
||||
OSResumeThread(&thread->thread);
|
||||
#elif defined(__3DS__)
|
||||
{
|
||||
size_t stack_size = 0x40000;
|
||||
s32 priority = 0x30;
|
||||
size_t stack_size = 1024 * 1024;
|
||||
svcGetThreadPriority(&priority, CUR_THREAD_HANDLE);
|
||||
thread->thread = threadCreate(ThreadProc,
|
||||
ctx,
|
||||
|
||||
Reference in New Issue
Block a user