Disable npc update for SPU thread groups

This commit is contained in:
Nekotekina 2018-11-05 13:13:43 +03:00
parent eaa17b7f7c
commit f06e6be2c1

View file

@ -509,7 +509,10 @@ void spu_thread::cpu_task()
}
// save next PC and current SPU Interrupt status
npc = pc | (interrupts_enabled);
if (!group && offset >= RAW_SPU_BASE_ADDR)
{
npc = pc | (interrupts_enabled);
}
// Print some stats
LOG_NOTICE(SPU, "Stats: Block Weight: %u (Retreats: %u);", block_counter, block_failure);
@ -595,7 +598,10 @@ void spu_thread::cpu_task()
}
// save next PC and current SPU Interrupt status
npc = pc | (interrupts_enabled);
if (!group && offset >= RAW_SPU_BASE_ADDR)
{
npc = pc | (interrupts_enabled);
}
}
void spu_thread::cpu_mem()