summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-26 20:38:48 +0200
committerGitHub <noreply@github.com>2022-06-26 20:38:48 +0200
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
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.gz
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.bz2
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.lz
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.xz
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.tar.zst
yuzu-abfd690601eaa567b60c5eb844a688fe85e7dcea.zip
Diffstat (limited to '')
-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:
/// Gets the current host_thread/guest_thread pointer.
KThread* GetCurrentEmuThread() const;
+ /// Sets the current guest_thread pointer.
+ void SetCurrentEmuThread(KThread* thread);
+
/// Gets the current host_thread handle.
u32 GetCurrentHostThreadID() const;