diff options
| author | 2014-12-20 03:04:36 -0200 | |
|---|---|---|
| committer | 2014-12-20 03:27:47 -0200 | |
| commit | adee775f443abfc17c0fe78a7487346e00b13ebc (patch) | |
| tree | 3ed4e1e00a2ed7caf8009be1f4af5071ff884286 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #286 from yuriks/msvc-fix (diff) | |
| download | yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.gz yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.xz yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.zip | |
Kernel: Implement support for current thread pseudo-handle
This boots a few (mostly Nintendo 1st party) games further.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index be7adface..ec3b887d4 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -78,6 +78,9 @@ Handle ArbitrateHighestPriorityThread(u32 arbiter, u32 address); | |||
| 78 | /// Arbitrate all threads currently waiting... | 78 | /// Arbitrate all threads currently waiting... |
| 79 | void ArbitrateAllThreads(u32 arbiter, u32 address); | 79 | void ArbitrateAllThreads(u32 arbiter, u32 address); |
| 80 | 80 | ||
| 81 | /// Gets the current thread | ||
| 82 | Thread* GetCurrentThread(); | ||
| 83 | |||
| 81 | /// Gets the current thread handle | 84 | /// Gets the current thread handle |
| 82 | Handle GetCurrentThreadHandle(); | 85 | Handle GetCurrentThreadHandle(); |
| 83 | 86 | ||