mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 22:42:40 +02:00
libstrat: update curthreadhandle for libnx 1.5.0
This commit is contained in:
parent
9d923fcba4
commit
a0c5246b5c
@ -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 New Issue
Block a user