From a17123ad15cb379773c330ef4b99bb4b2476afb9 Mon Sep 17 00:00:00 2001 From: Somebody Whoisbored <13044396+shadowninja108@users.noreply.github.com> Date: Tue, 1 Mar 2022 00:16:19 -0700 Subject: [PATCH] Fix core used in cur proc handler getter --- source/lib/util/cur_proc_handle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/util/cur_proc_handle.cpp b/source/lib/util/cur_proc_handle.cpp index 46f0868..3346463 100644 --- a/source/lib/util/cur_proc_handle.cpp +++ b/source/lib/util/cur_proc_handle.cpp @@ -39,7 +39,7 @@ namespace exl::util::proc_handle { // Create a new thread to receive our handle. Handle thread_handle; - R_ABORT_UNLESS(svcCreateThread(&thread_handle, (void*) &ReceiveProcessHandleThreadMain, (void *)(uintptr_t)server_handle, temp_thread_stack + sizeof(temp_thread_stack), 0x20, 3)); + R_ABORT_UNLESS(svcCreateThread(&thread_handle, (void*) &ReceiveProcessHandleThreadMain, (void *)(uintptr_t)server_handle, temp_thread_stack + sizeof(temp_thread_stack), 0x20, 2)); // Start the new thread. R_ABORT_UNLESS(svcStartThread(thread_handle));