summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar Liam2022-06-16 10:35:52 -0400
committerGravatar Liam2022-06-23 00:28:00 -0400
commit2c56e94702e897c609711d82057d8267d8f4d0b3 (patch)
treeb037c6951383408517b460577b709f4383a61da0 /src/core/hle/kernel/kernel.h
parentMerge pull request #8491 from Morph1984/extra-assert (diff)
downloadyuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.gz
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.tar.xz
yuzu-2c56e94702e897c609711d82057d8267d8f4d0b3.zip
kernel: make current thread pointer thread local
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4e7beab0e..aa0ebaa02 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -226,6 +226,9 @@ public:
226 /// Gets the current host_thread/guest_thread pointer. 226 /// Gets the current host_thread/guest_thread pointer.
227 KThread* GetCurrentEmuThread() const; 227 KThread* GetCurrentEmuThread() const;
228 228
229 /// Sets the current guest_thread pointer.
230 void SetCurrentEmuThread(KThread* thread);
231
229 /// Gets the current host_thread handle. 232 /// Gets the current host_thread handle.
230 u32 GetCurrentHostThreadID() const; 233 u32 GetCurrentHostThreadID() const;
231 234