summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index fe4558648..8088c634f 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -41,7 +41,7 @@ void SetupMainThread(Core::System& system, Process& owner_process, u32 priority,
41 const VAddr entry_point = owner_process.PageTable().GetCodeRegionStart(); 41 const VAddr entry_point = owner_process.PageTable().GetCodeRegionStart();
42 ASSERT(owner_process.GetResourceLimit()->Reserve(LimitableResource::Threads, 1)); 42 ASSERT(owner_process.GetResourceLimit()->Reserve(LimitableResource::Threads, 1));
43 43
44 KThread* thread = KThread::CreateWithKernel(system.Kernel()); 44 KThread* thread = KThread::Create(system.Kernel());
45 ASSERT(KThread::InitializeUserThread(system, thread, entry_point, 0, stack_top, priority, 45 ASSERT(KThread::InitializeUserThread(system, thread, entry_point, 0, stack_top, priority,
46 owner_process.GetIdealCoreId(), &owner_process) 46 owner_process.GetIdealCoreId(), &owner_process)
47 .IsSuccess()); 47 .IsSuccess());