mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
fix spu interpreter single stepping
This commit is contained in:
parent
7753ac60b0
commit
b61a69c877
|
|
@ -393,7 +393,7 @@ void SPUThread::cpu_task()
|
|||
|
||||
while (true)
|
||||
{
|
||||
if (!test(state))
|
||||
if (!test(state) || !check_state())
|
||||
{
|
||||
// Read opcode
|
||||
const u32 op = base[pc / 4];
|
||||
|
|
@ -403,10 +403,10 @@ void SPUThread::cpu_task()
|
|||
|
||||
// Next instruction
|
||||
pc += 4;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (check_state()) return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue