mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
SPU LLVM: Avoid excess cache threads
This commit is contained in:
parent
bdceb24fd9
commit
62b880cb78
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
||||||
progr.emplace("Building SPU 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
|
named_thread_group workers("SPU Worker ", worker_count, [&]() -> uint
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue