From ab923bc2c36cc4eb3fa34e2bc690cf1511a49979 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 16 May 2024 02:35:56 +0200 Subject: [PATCH] Add comment for thread_scheduler_mode::old to get_affinity_mask --- Utilities/Thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index f556927087..16016947bc 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -2912,7 +2912,7 @@ u64 thread_ctrl::get_affinity_mask(thread_class group) spu_mask = 0b0000101010101010; rsx_mask = 0b1000000000000000; } - else + else // if (g_cfg.core.thread_scheduler == thread_scheduler_mode::old) { ppu_mask = 0b1111111100000000; spu_mask = ppu_mask; @@ -2953,7 +2953,7 @@ u64 thread_ctrl::get_affinity_mask(thread_class group) spu_mask = 0b1111111100000000; rsx_mask = 0b0000000000001111; } - else + else // if (g_cfg.core.thread_scheduler == thread_scheduler_mode::old) { // Verified by more than one windows user on 16-thread CPU ppu_mask = spu_mask = rsx_mask = (0b10101010101010101010101010101010 & all_cores_mask); @@ -2967,7 +2967,7 @@ u64 thread_ctrl::get_affinity_mask(thread_class group) spu_mask = 0b111111110000; rsx_mask = 0b000000000011; } - else + else // if (g_cfg.core.thread_scheduler == thread_scheduler_mode::old) { ppu_mask = spu_mask = rsx_mask = all_cores_mask; }