Skip to content

Commit

Permalink
Fix core used in cur proc handler getter
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowninja108 committed Mar 1, 2022
1 parent 866a939 commit a17123a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/util/cur_proc_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit a17123a

Please sign in to comment.