Scheduler overhaul

This commit is contained in:
xddxd 2021-03-17 18:28:03 +02:00 committed by Ivan
parent a7acb84b8b
commit 9d895e6b15
12 changed files with 101 additions and 47 deletions

View file

@ -405,7 +405,7 @@ void cpu_thread::operator()()
{
g_tls_this_thread = this;
if (g_cfg.core.thread_scheduler_enabled)
if (g_cfg.core.thread_scheduler != thread_scheduler_mode::os)
{
thread_ctrl::set_thread_affinity_mask(thread_ctrl::get_affinity_mask(id_type() == 1 ? thread_class::ppu : thread_class::spu));
}