aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-31 00:46:09 -0800
committerbunnei <bunneidev@gmail.com>2021-01-28 21:42:25 -0800
commiteea346ba8eed49111d34e2fb1eee8a1ad53c4614 (patch)
treecbb3c011970c59e756dae5d358eadcb679b060e8 /src/core/cpu_manager.cpp
parent9a4e148f9e27671f58f0d32afb2c9a85adc136c5 (diff)
hle: kernel: KThread: Remove thread types that do not exist.
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r--src/core/cpu_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 122edb5886..018cd2e253 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -279,7 +279,7 @@ void CpuManager::PreemptSingleCore(bool from_running_enviroment) {
auto& scheduler = system.Kernel().Scheduler(current_core);
scheduler.Reload(scheduler.GetCurrentThread());
auto* currrent_thread2 = scheduler.GetCurrentThread();
- if (!currrent_thread2->IsIdleThread()) {
+ if (!currrent_thread2->IsKernelThread()) {
idle_count = 0;
}
}