diff options
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, | |||
| 59 | priority, core_id, std::addressof(process))); | 59 | priority, core_id, std::addressof(process))); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | // Set the thread name for debugging purposes. | ||
| 63 | thread->SetName(fmt::format("thread[entry_point={:X}, handle={:X}]", entry_point, *out_handle)); | ||
| 64 | |||
| 65 | // Commit the thread reservation. | 62 | // Commit the thread reservation. |
| 66 | thread_reservation.Commit(); | 63 | thread_reservation.Commit(); |
| 67 | 64 | ||
| @@ -252,7 +249,7 @@ Result GetThreadList(Core::System& system, s32* out_num_threads, VAddr out_threa | |||
| 252 | 249 | ||
| 253 | auto list_iter = thread_list.cbegin(); | 250 | auto list_iter = thread_list.cbegin(); |
| 254 | for (std::size_t i = 0; i < copy_amount; ++i, ++list_iter) { | 251 | for (std::size_t i = 0; i < copy_amount; ++i, ++list_iter) { |
| 255 | memory.Write64(out_thread_ids, (*list_iter)->GetThreadID()); | 252 | memory.Write64(out_thread_ids, (*list_iter)->GetThreadId()); |
| 256 | out_thread_ids += sizeof(u64); | 253 | out_thread_ids += sizeof(u64); |
| 257 | } | 254 | } |
| 258 | 255 | ||