diff options
| author | 2017-09-29 14:47:52 -0500 | |
|---|---|---|
| committer | 2017-10-01 14:18:35 -0500 | |
| commit | 8217ed7acb71bfa574e0a29e69b902a0c539c814 (patch) | |
| tree | 4a4d8e657d1f0d8b84bf9694df2f4d33842d7d1d /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #2962 from huwpascoe/static_cast (diff) | |
| download | yuzu-8217ed7acb71bfa574e0a29e69b902a0c539c814.tar.gz yuzu-8217ed7acb71bfa574e0a29e69b902a0c539c814.tar.xz yuzu-8217ed7acb71bfa574e0a29e69b902a0c539c814.zip | |
Kernel/Thread: Added a helper function to get a thread's command buffer VAddr.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index f02e1d43a..520ac22c2 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -159,6 +159,12 @@ public: | |||
| 159 | return tls_address; | 159 | return tls_address; |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | /* | ||
| 163 | * Returns the address of the current thread's command buffer, located in the TLS. | ||
| 164 | * @returns VAddr of the thread's command buffer. | ||
| 165 | */ | ||
| 166 | VAddr GetCommandBufferAddress() const; | ||
| 167 | |||
| 162 | /** | 168 | /** |
| 163 | * Returns whether this thread is waiting for all the objects in | 169 | * Returns whether this thread is waiting for all the objects in |
| 164 | * its wait list to become ready, as a result of a WaitSynchronizationN call | 170 | * its wait list to become ready, as a result of a WaitSynchronizationN call |