diff options
| author | 2018-12-18 22:37:01 -0500 | |
|---|---|---|
| committer | 2018-12-18 22:37:03 -0500 | |
| commit | 8435451093b193c1a1556a9edadc5663d3372b02 (patch) | |
| tree | a162bf2b2482784bb1fe69ea27bc64c9d49c3424 /src/core/hle/kernel/thread.h | |
| parent | kernel/svc: Correct output parameter for svcGetProcessId (diff) | |
| download | yuzu-8435451093b193c1a1556a9edadc5663d3372b02.tar.gz yuzu-8435451093b193c1a1556a9edadc5663d3372b02.tar.xz yuzu-8435451093b193c1a1556a9edadc5663d3372b02.zip | |
kernel/thread: Make thread_id a 64-bit value
The kernel uses a 64-bit value for the thread ID, so we shouldn't be
using a 32-bit value.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 4 |
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 | ||