mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-24 01:03:43 +00:00
kernel/svc: Correct output parameter for svcGetThreadId
The service call uses a 64-bit value, just like svcGetProcessId. This amends the function signature accordingly.
This commit is contained in:
parent
8435451093
commit
0906302ca9
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ static ResultCode SendSyncRequest(Handle handle) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the ID for the specified thread.
|
/// 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);
|
LOG_TRACE(Kernel_SVC, "called thread=0x{:08X}", thread_handle);
|
||||||
|
|
||||||
const auto& handle_table = Core::CurrentProcess()->GetHandleTable();
|
const auto& handle_table = Core::CurrentProcess()->GetHandleTable();
|
||||||
|
|
Loading…
Reference in a new issue