mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-28 14:02:40 +02:00
kern: style parity for return in GetThreadList
This commit is contained in:
parent
83020ce2c4
commit
35af9a4996
@ -225,7 +225,7 @@ namespace ams::kern::svc {
|
|||||||
|
|
||||||
if (debug_handle == ams::svc::InvalidHandle) {
|
if (debug_handle == ams::svc::InvalidHandle) {
|
||||||
/* If passed invalid handle, we should return the global thread list. */
|
/* If passed invalid handle, we should return the global thread list. */
|
||||||
return KThread::GetThreadList(out_num_threads, out_thread_ids, max_out_count);
|
R_TRY(KThread::GetThreadList(out_num_threads, out_thread_ids, max_out_count));
|
||||||
} else {
|
} else {
|
||||||
/* Get the handle table. */
|
/* Get the handle table. */
|
||||||
auto &handle_table = GetCurrentProcess().GetHandleTable();
|
auto &handle_table = GetCurrentProcess().GetHandleTable();
|
||||||
|
Loading…
Reference in New Issue
Block a user