summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-12-21 13:45:27 -0500
committerGravatar GitHub2018-12-21 13:45:27 -0500
commit59ac3346ebe605bfb0f538d9fa045b32d86168cb (patch)
treed2793ede352840b4326cc7c56fc8e7b7a3e6670f /src/core/hle/kernel/thread.h
parentMerge pull request #1914 from lioncash/id (diff)
parentkernel/svc: Handle thread handles within GetProcessId (diff)
downloadyuzu-59ac3346ebe605bfb0f538d9fa045b32d86168cb.tar.gz
yuzu-59ac3346ebe605bfb0f538d9fa045b32d86168cb.tar.xz
yuzu-59ac3346ebe605bfb0f538d9fa045b32d86168cb.zip
Merge pull request #1925 from lioncash/pid
kernel/{process, thread}: Amend behavior related to IDs
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 77aec099a..d6e7981d3 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -151,7 +151,7 @@ public:
151 * Gets the thread's thread ID 151 * Gets the thread's thread ID
152 * @return The thread's ID 152 * @return The thread's ID
153 */ 153 */
154 u32 GetThreadID() const { 154 u64 GetThreadID() const {
155 return thread_id; 155 return thread_id;
156 } 156 }
157 157
@@ -379,7 +379,7 @@ private:
379 379
380 Core::ARM_Interface::ThreadContext context{}; 380 Core::ARM_Interface::ThreadContext context{};
381 381
382 u32 thread_id = 0; 382 u64 thread_id = 0;
383 383
384 ThreadStatus status = ThreadStatus::Dormant; 384 ThreadStatus status = ThreadStatus::Dormant;
385 385