mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-11 16:49:35 +01:00
Fix minor issue with usage of STL thread::hardware_concurrency()
This commit is contained in:
1 parent
11ba6e45ab
commit
d3bc96a201
9 files changed
+24
-13
No files matched your search
@@ -2518,7 +2518,7 @@ u64 thread_ctrl::get_affinity_mask(thread_class group)
|
||||
{
|
||||
detect_cpu_layout();
|
||||
|
||||
if (const auto thread_count = std::thread::hardware_concurrency())
|
||||
if (const auto thread_count = utils::get_thread_count())
|
||||
{
|
||||
const u64 all_cores_mask = process_affinity_mask;
|
||||
|
||||
|
||||
Reference in new issue
Block a user