libstrat: update curthreadhandle for libnx 1.5.0

This commit is contained in:
Michael Scire 2018-11-05 22:56:04 -08:00
parent 9142e90a04
commit 952ee4227d

View File

@ -29,8 +29,7 @@
#include "scope_guard.hpp"
static inline Handle GetCurrentThreadHandle() {
/* TODO: Wait for libnx to add a way for me to call getThreadVars() */
return *((Handle *)((uintptr_t)armGetTls() + 0x1E4));
return threadGetCurHandle();
}
struct DefaultManagerOptions {