Switch: Fix build on libnx 3.0.0
Vicki Pfau vi@endrift.com
Sun, 19 Jan 2020 16:20:23 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
include/mgba-util/platform/switch/threading.h
→
include/mgba-util/platform/switch/threading.h
@@ -64,7 +64,7 @@ static inline int ThreadCreate(Thread* thread, ThreadEntry entry, void* context) {
if (!entry || !thread) { return 1; } - int res = threadCreate(thread, entry, context, 0x8000, 0x3B, 1); + int res = threadCreate(thread, entry, context, NULL, 0x8000, 0x3B, 1); if(R_FAILED(res)) { return res; }