mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 09:06:35 +00:00
libstrat: update curthreadhandle for libnx 1.5.0
This commit is contained in:
parent
9142e90a04
commit
952ee4227d
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@
|
||||||
#include "scope_guard.hpp"
|
#include "scope_guard.hpp"
|
||||||
|
|
||||||
static inline Handle GetCurrentThreadHandle() {
|
static inline Handle GetCurrentThreadHandle() {
|
||||||
/* TODO: Wait for libnx to add a way for me to call getThreadVars() */
|
return threadGetCurHandle();
|
||||||
return *((Handle *)((uintptr_t)armGetTls() + 0x1E4));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DefaultManagerOptions {
|
struct DefaultManagerOptions {
|
||||||
|
|
Loading…
Reference in a new issue