summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-18 22:38:22 -0500
committerGravatar Lioncash2018-12-18 22:38:26 -0500
commit0906302ca92332c8928c3a896e66d85d229fadb9 (patch)
treec7447b0ed9dca81358730137e7112f6f5f6fc5af /src/core/hle/kernel
parentkernel/thread: Make thread_id a 64-bit value (diff)
downloadyuzu-0906302ca92332c8928c3a896e66d85d229fadb9.tar.gz
yuzu-0906302ca92332c8928c3a896e66d85d229fadb9.tar.xz
yuzu-0906302ca92332c8928c3a896e66d85d229fadb9.zip
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/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index c8b60b16c..bcc9864f3 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -350,7 +350,7 @@ static ResultCode SendSyncRequest(Handle handle) {
350} 350}
351 351
352/// Get the ID for the specified thread. 352/// Get the ID for the specified thread.
353static ResultCode GetThreadId(u32* thread_id, Handle thread_handle) { 353static ResultCode GetThreadId(u64* thread_id, Handle thread_handle) {
354 LOG_TRACE(Kernel_SVC, "called thread=0x{:08X}", thread_handle); 354 LOG_TRACE(Kernel_SVC, "called thread=0x{:08X}", thread_handle);
355 355
356 const auto& handle_table = Core::CurrentProcess()->GetHandleTable(); 356 const auto& handle_table = Core::CurrentProcess()->GetHandleTable();