diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-18 22:38:22 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-18 22:38:26 -0500 |
commit | 0906302ca92332c8928c3a896e66d85d229fadb9 (patch) | |
tree | c7447b0ed9dca81358730137e7112f6f5f6fc5af /src | |
parent | 8435451093b193c1a1556a9edadc5663d3372b02 (diff) |
kernel/svc: Correct output parameter for svcGetThreadId
The service call uses a 64-bit value, just like svcGetProcessId. This
amends the function signature accordingly.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index c8b60b16c1..bcc9864f3f 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -350,7 +350,7 @@ static ResultCode SendSyncRequest(Handle handle) { } /// Get the ID for the specified thread. -static ResultCode GetThreadId(u32* thread_id, Handle thread_handle) { +static ResultCode GetThreadId(u64* thread_id, Handle thread_handle) { LOG_TRACE(Kernel_SVC, "called thread=0x{:08X}", thread_handle); const auto& handle_table = Core::CurrentProcess()->GetHandleTable(); |