summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2022-06-26 11:38:48 -0700
committerGravatar GitHub2022-06-26 11:38:48 -0700
commitabfd690601eaa567b60c5eb844a688fe85e7dcea (patch)
treebb7cc7e8746ffedb0f8ddf2ca82c19ae41f5c1be /src/core/hle/kernel/kernel.h
parentMerge pull request #8500 from liamwhite/poke (diff)
parentkernel: make current thread pointer thread local (diff)
downloadyuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.gz
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.xz
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.zip
Merge pull request #8475 from liamwhite/x18
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