diff options
author | Liam <byteslice@airmail.cc> | 2022-11-03 01:21:32 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-11-04 14:18:57 +0100 |
commit | e6fe40428c3260d551ac5c795651e2efcfdfc0ea (patch) | |
tree | 641e807df70e320a0b003ea3e880fe3ecccb08b6 /src/core/hle/kernel/k_thread.cpp | |
parent | kernel: avoid racy behavior in global suspension (diff) | |
download | yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar.gz yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar.bz2 yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar.lz yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar.xz yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.tar.zst yuzu-e6fe40428c3260d551ac5c795651e2efcfdfc0ea.zip |
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 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; |