fix spu interpreter single stepping
This commit is contained in:
@@ -393,7 +393,7 @@ void SPUThread::cpu_task()
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
if (!test(state))
|
if (!test(state) || !check_state())
|
||||||
{
|
{
|
||||||
// Read opcode
|
// Read opcode
|
||||||
const u32 op = base[pc / 4];
|
const u32 op = base[pc / 4];
|
||||||
@@ -403,10 +403,10 @@ void SPUThread::cpu_task()
|
|||||||
|
|
||||||
// Next instruction
|
// Next instruction
|
||||||
pc += 4;
|
pc += 4;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
if (check_state()) return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user