diff options
| author | Liam <byteslice@airmail.cc> | 2023-03-07 16:11:50 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-03-12 22:09:09 -0400 |
| commit | 6bfb4c8f713323bb39b7e38a779c35583fc61bcc (patch) | |
| tree | 6208bf4bbd1c303811384c8fe3d600560a4d3bfe /src/core/hle/kernel/svc | |
| parent | ac6cbb7134d71134e4beae91361a78fa68202c22 (diff) | |
kernel: convert KThread to new style
Diffstat (limited to 'src/core/hle/kernel/svc')
| -rw-r--r-- | src/core/hle/kernel/svc/svc_thread.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc/svc_thread.cpp b/src/core/hle/kernel/svc/svc_thread.cpp index a16fc7ae3..50991fb62 100644 --- a/src/core/hle/kernel/svc/svc_thread.cpp +++ b/src/core/hle/kernel/svc/svc_thread.cpp @@ -59,9 +59,6 @@ Result CreateThread(Core::System& system, Handle* out_handle, VAddr entry_point, priority, core_id, std::addressof(process))); } - // Set the thread name for debugging purposes. - thread->SetName(fmt::format("thread[entry_point={:X}, handle={:X}]", entry_point, *out_handle)); - // Commit the thread reservation. thread_reservation.Commit(); @@ -252,7 +249,7 @@ Result GetThreadList(Core::System& system, s32* out_num_threads, VAddr out_threa auto list_iter = thread_list.cbegin(); for (std::size_t i = 0; i < copy_amount; ++i, ++list_iter) { - memory.Write64(out_thread_ids, (*list_iter)->GetThreadID()); + memory.Write64(out_thread_ids, (*list_iter)->GetThreadId()); out_thread_ids += sizeof(u64); } |
