mirror of https://github.com/mgba-emu/mgba.git
3DS: Threading now works
This commit is contained in:
parent
422d34bdb0
commit
ddd81b27b4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue