mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 11:33:32 +01:00
libstrat: update curthreadhandle for libnx 1.5.0
This commit is contained in:
parent
9142e90a04
commit
952ee4227d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user