summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-10 00:52:23 +0100
committerGitHub <noreply@github.com>2022-11-10 00:52:23 +0100
commit770f23db341c6fad8c2647b6c0015348f6dc8730 (patch)
tree9cbb82f96454f27657a539e212f6f0852932ed35 /src/core/hle/kernel/k_thread.cpp
parentMerge pull request #9215 from liamwhite/swordfight (diff)
parentservice_thread: register service threads to the logical owner process (diff)
downloadyuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.gz
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.bz2
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.lz
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.xz
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.zst
yuzu-770f23db341c6fad8c2647b6c0015348f6dc8730.zip
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 cc88d08f0..78076a346 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;