aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-09 15:52:23 -0800
committerGitHub <noreply@github.com>2022-11-09 15:52:23 -0800
commit829acd963ca1f7a65ae41ded4072ceec08141f7e (patch)
tree9cbb82f96454f27657a539e212f6f0852932ed35 /src/core/hle/kernel/k_thread.cpp
parent728eca47a14b73d1fc9f781facdad1aae84c2c32 (diff)
parentc835c254a3eca8e2c333b3aaa34f246601c12e78 (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.cpp4
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;