summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_scheduler.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-16 02:53:49 +0200
committerLiam <byteslice@airmail.cc>2022-06-16 02:53:49 +0200
commit744a20876301bd97dab06022e38a07553434f10f (patch)
tree629a48fa2061504484c692a35feefb2d076e35e9 /src/core/hle/kernel/k_scheduler.cpp
parentMerge pull request #8457 from liamwhite/kprocess-suspend (diff)
downloadyuzu-744a20876301bd97dab06022e38a07553434f10f.tar
yuzu-744a20876301bd97dab06022e38a07553434f10f.tar.gz
yuzu-744a20876301bd97dab06022e38a07553434f10f.tar.bz2
yuzu-744a20876301bd97dab06022e38a07553434f10f.tar.lz
yuzu-744a20876301bd97dab06022e38a07553434f10f.tar.xz
yuzu-744a20876301bd97dab06022e38a07553434f10f.tar.zst
yuzu-744a20876301bd97dab06022e38a07553434f10f.zip
Diffstat (limited to 'src/core/hle/kernel/k_scheduler.cpp')
-rw-r--r--src/core/hle/kernel/k_scheduler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp
index 2d4e8637b..7e03b26f8 100644
--- a/src/core/hle/kernel/k_scheduler.cpp
+++ b/src/core/hle/kernel/k_scheduler.cpp
@@ -829,6 +829,7 @@ void KScheduler::Initialize() {
idle_thread = KThread::Create(system.Kernel());
ASSERT(KThread::InitializeIdleThread(system, idle_thread, core_id).IsSuccess());
idle_thread->SetName(fmt::format("IdleThread:{}", core_id));
+ idle_thread->EnableDispatch();
}
KScopedSchedulerLock::KScopedSchedulerLock(KernelCore& kernel)