diff options
| author | 2018-12-18 22:38:22 -0500 | |
|---|---|---|
| committer | 2018-12-18 22:38:26 -0500 | |
| commit | 0906302ca92332c8928c3a896e66d85d229fadb9 (patch) | |
| tree | c7447b0ed9dca81358730137e7112f6f5f6fc5af /src/core/hle/kernel | |
| parent | kernel/thread: Make thread_id a 64-bit value (diff) | |
| download | yuzu-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.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 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. |
| 353 | static ResultCode GetThreadId(u32* thread_id, Handle thread_handle) { | 353 | static 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(); |