diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-01 10:04:30 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-01-29 06:42:25 +0100 |
commit | 0530292b9768637aa6e2875e931c1066af4aa80e (patch) | |
tree | 30236fc9d763731f06a8f4397a88200bb31c0318 /src/core/hle/kernel/k_scheduler.cpp | |
parent | hle: kernel: Move single core "phantom mode" out of KThread. (diff) | |
download | yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.gz yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.bz2 yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.lz yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.xz yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.zst yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp index edc5df733..0f34a8a69 100644 --- a/src/core/hle/kernel/k_scheduler.cpp +++ b/src/core/hle/kernel/k_scheduler.cpp @@ -763,7 +763,7 @@ void KScheduler::Initialize() { std::string name = "Idle Thread Id:" + std::to_string(core_id); std::function<void(void*)> init_func = Core::CpuManager::GetIdleThreadStartFunc(); void* init_func_parameter = system.GetCpuManager().GetStartFuncParamater(); - auto thread_res = KThread::Create(system, THREADTYPE_KERNEL, name, 0, THREADPRIO_LOWEST, 0, + auto thread_res = KThread::Create(system, ThreadType::Kernel, name, 0, THREADPRIO_LOWEST, 0, static_cast<u32>(core_id), 0, nullptr, std::move(init_func), init_func_parameter); idle_thread = thread_res.Unwrap().get(); |