3DS: Threading now works

This commit is contained in:
Jeffrey Pfau 2015-09-04 01:49:26 -07:00
parent 422d34bdb0
commit ddd81b27b4
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ static inline int ThreadCreate(Thread* thread, ThreadEntry entry, void* context)
if (!thread->stack) {
return 1;
}
return svcCreateThread(&thread->handle, entry, (u32) context, (u32*) &thread->stack[0x8000], 0x1F, 1);
return svcCreateThread(&thread->handle, entry, (u32) context, (u32*) &thread->stack[0x8000], 0x18, -1);
}
static inline int ThreadJoin(Thread thread) {