summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-04-20 00:12:48 +0200
committerSubv <subv2112@gmail.com>2016-05-07 17:18:47 +0200
commitd192fb066d0d03c217c434f99af0200f75936263 (patch)
tree08151ce1c1cb6f7c91a544e6126d493d71f9f6b8 /src/core/hle/kernel/thread.h
parentMerge pull request #1685 from lioncash/hdr (diff)
downloadyuzu-d192fb066d0d03c217c434f99af0200f75936263.tar
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.gz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.bz2
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.lz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.xz
yuzu-d192fb066d0d03c217c434f99af0200f75936263.tar.zst
yuzu-d192fb066d0d03c217c434f99af0200f75936263.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 97ba57fc5..deab5d5a6 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -127,7 +127,7 @@ public:
* Returns the Thread Local Storage address of the current thread
* @returns VAddr of the thread's TLS
*/
- VAddr GetTLSAddress() const;
+ VAddr GetTLSAddress() const { return tls_address; }
Core::ThreadContext context;
@@ -144,7 +144,7 @@ public:
s32 processor_id;
- s32 tls_index; ///< Index of the Thread Local Storage of the thread
+ VAddr tls_address; ///< Virtual address of the Thread Local Storage of the thread
bool waitsynch_waited; ///< Set to true if the last svcWaitSynch call caused the thread to wait