mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
hle: kernel: KThread: Clean up thread priorities.
This commit is contained in:
parent
0ae0bc4340
commit
4ba9d6f969
10 changed files with 46 additions and 85 deletions
|
@ -764,7 +764,7 @@ void KScheduler::Initialize() {
|
|||
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,
|
||||
Svc::LowestThreadPriority, 0, static_cast<u32>(core_id), 0,
|
||||
KThread::IdleThreadPriority, 0, static_cast<u32>(core_id), 0,
|
||||
nullptr, std::move(init_func), init_func_parameter);
|
||||
idle_thread = thread_res.Unwrap().get();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue