Fix max SPURS threads regression

This commit is contained in:
Eladash 2020-02-18 20:03:46 +02:00 committed by Ani
parent 727d783959
commit f02b4801b2
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ error_code sys_spu_thread_initialize(ppu_thread& ppu, vm::ptr<u32> thread, u32 g
{
if (g_cfg.core.max_spurs_threads < 6 && group->max_num > 0u + g_cfg.core.max_spurs_threads)
{
if (group->name.starts_with("CellSpursKernelGroup"))
if (group->name.ends_with("CellSpursKernelGroup"))
{
// Hack: don't run more SPURS threads than specified.
group->max_run = g_cfg.core.max_spurs_threads;