mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
SPU: Fix SPU Precise interpreter
This commit is contained in:
parent
8f3ad8b81a
commit
3eabec0030
1 changed files with 5 additions and 1 deletions
|
@ -416,6 +416,8 @@ void spu_cache::initialize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u32 worker_count = 0;
|
||||||
|
|
||||||
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit || g_cfg.core.spu_decoder == spu_decoder_type::llvm)
|
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit || g_cfg.core.spu_decoder == spu_decoder_type::llvm)
|
||||||
{
|
{
|
||||||
// Initialize progress dialog (wait for previous progress done)
|
// Initialize progress dialog (wait for previous progress done)
|
||||||
|
@ -426,9 +428,11 @@ void spu_cache::initialize()
|
||||||
|
|
||||||
g_progr = "Building SPU cache...";
|
g_progr = "Building SPU cache...";
|
||||||
g_progr_ptotal += ::size32(func_list);
|
g_progr_ptotal += ::size32(func_list);
|
||||||
|
|
||||||
|
worker_count = Emu.GetMaxThreads();
|
||||||
}
|
}
|
||||||
|
|
||||||
named_thread_group workers("SPU Worker ", Emu.GetMaxThreads(), [&]() -> uint
|
named_thread_group workers("SPU Worker ", worker_count, [&]() -> uint
|
||||||
{
|
{
|
||||||
// Initialize compiler instances for parallel compilation
|
// Initialize compiler instances for parallel compilation
|
||||||
std::unique_ptr<spu_recompiler_base> compiler;
|
std::unique_ptr<spu_recompiler_base> compiler;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue