diff options
| author | Liam <byteslice@airmail.cc> | 2022-11-02 20:21:32 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-11-04 09:18:57 -0400 |
| commit | c835c254a3eca8e2c333b3aaa34f246601c12e78 (patch) | |
| tree | 641e807df70e320a0b003ea3e880fe3ecccb08b6 /src/core/hle/kernel/k_thread.cpp | |
| parent | ae2bfd082b0a87b6c68c676cb84af421a12b1d8e (diff) | |
service_thread: register service threads to the logical owner process
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; |
