aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/k_thread.cpp
diff options
context:
space:
mode:
authorbunnei <[email protected]>2022-11-09 15:52:23 -0800
committerGitHub <[email protected]>2022-11-09 15:52:23 -0800
commit770f23db341c6fad8c2647b6c0015348f6dc8730 (patch)
tree9cbb82f96454f27657a539e212f6f0852932ed35 /src/core/hle/kernel/k_thread.cpp
parent3161b34ff6e4773cce35f0e4efe94ffb670eb2af (diff)
parente6fe40428c3260d551ac5c795651e2efcfdfc0ea (diff)
downloadyuzu-android-770f23db341c6fad8c2647b6c0015348f6dc8730.tar.gz
yuzu-android-770f23db341c6fad8c2647b6c0015348f6dc8730.zip
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 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;