all repos — mgba @ 5a543b2a6401313e73fa7efdca25320732cd3a63

mGBA Game Boy Advance Emulator

Switch: Fix build on libnx 3.0.0
Vicki Pfau vi@endrift.com
Sun, 19 Jan 2020 16:20:23 -0800
commit

5a543b2a6401313e73fa7efdca25320732cd3a63

parent

95e1dd9c35c2fb4c5d942d65431aae4e3ece2142

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

jump to
M include/mgba-util/platform/switch/threading.hinclude/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; }