diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-18 22:37:01 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-18 22:37:03 -0500 |
| commit | 8435451093b193c1a1556a9edadc5663d3372b02 (patch) | |
| tree | a162bf2b2482784bb1fe69ea27bc64c9d49c3424 /src/core/hle/kernel/thread.h | |
| parent | 43e1189688a948e167ade54fdf2ba4007289aefd (diff) | |
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: * Gets the thread's thread ID * @return The thread's ID */ - u32 GetThreadID() const { + u64 GetThreadID() const { return thread_id; } @@ -379,7 +379,7 @@ private: Core::ARM_Interface::ThreadContext context{}; - u32 thread_id = 0; + u64 thread_id = 0; ThreadStatus status = ThreadStatus::Dormant; |
