mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
SPU LLVM: Avoid excess cache threads
This commit is contained in:
parent
bdceb24fd9
commit
62b880cb78
@ -781,7 +781,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
||||
progr.emplace("Building SPU cache...");
|
||||
}
|
||||
|
||||
worker_count = rpcs3::utils::get_max_threads();
|
||||
worker_count = std::min<u32>(rpcs3::utils::get_max_threads(), add_count);
|
||||
}
|
||||
|
||||
named_thread_group workers("SPU Worker ", worker_count, [&]() -> uint
|
||||
|
Loading…
Reference in New Issue
Block a user