mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
Fix minor issue with usage of STL thread::hardware_concurrency()
This commit is contained in:
parent
11ba6e45ab
commit
d3bc96a201
9 changed files with 24 additions and 13 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue