1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

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 {