summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-01-01 01:04:30 -0800
committerGravatar bunnei2021-01-28 21:42:25 -0800
commit0530292b9768637aa6e2875e931c1066af4aa80e (patch)
tree30236fc9d763731f06a8f4397a88200bb31c0318 /src/core/hle/kernel/kernel.cpp
parenthle: kernel: Move single core "phantom mode" out of KThread. (diff)
downloadyuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.gz
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.xz
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.zip
hle: kernel: KThread: Fix ThreadType definition.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 80a78e643..97a5dc2e0 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -169,7 +169,7 @@ struct KernelCore::Impl {
169 std::string name = "Suspend Thread Id:" + std::to_string(i); 169 std::string name = "Suspend Thread Id:" + std::to_string(i);
170 std::function<void(void*)> init_func = Core::CpuManager::GetSuspendThreadStartFunc(); 170 std::function<void(void*)> init_func = Core::CpuManager::GetSuspendThreadStartFunc();
171 void* init_func_parameter = system.GetCpuManager().GetStartFuncParamater(); 171 void* init_func_parameter = system.GetCpuManager().GetStartFuncParamater();
172 auto thread_res = KThread::Create(system, THREADTYPE_KERNEL, std::move(name), 0, 0, 0, 172 auto thread_res = KThread::Create(system, ThreadType::Kernel, std::move(name), 0, 0, 0,
173 static_cast<u32>(i), 0, nullptr, std::move(init_func), 173 static_cast<u32>(i), 0, nullptr, std::move(init_func),
174 init_func_parameter); 174 init_func_parameter);
175 175