diff --git a/src/platform/3ds/threading.h b/src/platform/3ds/threading.h index 1900fde0f..8568a16f5 100644 --- a/src/platform/3ds/threading.h +++ b/src/platform/3ds/threading.h @@ -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, &thread->stack[0x8000], 0x1F, 1); + return svcCreateThread(&thread->handle, entry, (u32) context, (u32*) &thread->stack[0x8000], 0x1F, 1); } static inline int ThreadJoin(Thread thread) { @@ -107,8 +107,9 @@ static inline int ThreadJoin(Thread thread) { return 0; } -static void ThreadSetName(const char* name) { - +static inline void ThreadSetName(const char* name) { + UNUSED(name); + // Unimplemented } #endif diff --git a/src/util/threading.h b/src/util/threading.h index a4404927d..d18ca91c8 100644 --- a/src/util/threading.h +++ b/src/util/threading.h @@ -15,6 +15,8 @@ #include "platform/windows/threading.h" #elif PSP2 #include "platform/psp2/threading.h" +#elif _3DS +#include "platform/3ds/threading.h" #else #define DISABLE_THREADING #endif