hle: kernel: KThread: Remove thread types that do not exist.

This commit is contained in:
bunnei 2020-12-31 00:46:09 -08:00
parent 9a4e148f9e
commit eea346ba8e
6 changed files with 30 additions and 53 deletions

View file

@ -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;
}
}