diff options
author | bunnei <bunneidev@gmail.com> | 2022-06-26 20:38:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 20:38:48 +0200 |
commit | abfd690601eaa567b60c5eb844a688fe85e7dcea (patch) | |
tree | bb7cc7e8746ffedb0f8ddf2ca82c19ae41f5c1be /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #8500 from liamwhite/poke (diff) | |
parent | kernel: make current thread pointer thread local (diff) | |
download | yuzu-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.h | 3 |
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; |