diff options
| author | bunnei <bunneidev@gmail.com> | 2022-11-09 15:52:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-09 15:52:23 -0800 |
| commit | 829acd963ca1f7a65ae41ded4072ceec08141f7e (patch) | |
| tree | 9cbb82f96454f27657a539e212f6f0852932ed35 /src/core/hle/kernel/k_thread.cpp | |
| parent | 728eca47a14b73d1fc9f781facdad1aae84c2c32 (diff) | |
| parent | c835c254a3eca8e2c333b3aaa34f246601c12e78 (diff) | |
Merge pull request #9182 from liamwhite/services-are-processes
kernel: assign KProcess to service threads
Diffstat (limited to 'src/core/hle/kernel/k_thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/k_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp index cc88d08f03..78076a3466 100644 --- a/src/core/hle/kernel/k_thread.cpp +++ b/src/core/hle/kernel/k_thread.cpp @@ -263,9 +263,9 @@ Result KThread::InitializeThread(KThread* thread, KThreadFunction func, uintptr_ R_SUCCEED(); } -Result KThread::InitializeDummyThread(KThread* thread) { +Result KThread::InitializeDummyThread(KThread* thread, KProcess* owner) { // Initialize the thread. - R_TRY(thread->Initialize({}, {}, {}, DummyThreadPriority, 3, {}, ThreadType::Dummy)); + R_TRY(thread->Initialize({}, {}, {}, DummyThreadPriority, 3, owner, ThreadType::Dummy)); // Initialize emulation parameters. thread->stack_parameters.disable_count = 0; |
