all repos — mgba @ ddd81b27b4ddcba1e36a03c3403ced3c39ecea8c

mGBA Game Boy Advance Emulator

3DS: Threading now works
Jeffrey Pfau jeffrey@endrift.com
Fri, 04 Sep 2015 01:49:26 -0700
commit

ddd81b27b4ddcba1e36a03c3403ced3c39ecea8c

parent

422d34bdb09074181b4df245d1655d40855f4b7a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/3ds/threading.hsrc/platform/3ds/threading.h

@@ -98,7 +98,7 @@ thread->stack = memalign(8, 0x8000);

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) {