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:
zoeyjodon authored and GitHub committed 2024-02-02 18:33:18 -06:00
1 parent 0f3fa30f62
commit 35f730fedd
2 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -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,