Fix SPU STOP instruction

Check thread state after STOP instruction
This commit is contained in:
Nekotekina 2018-11-05 14:24:08 +03:00
parent f06e6be2c1
commit 488928eca2
4 changed files with 32 additions and 3 deletions

View file

@ -3056,6 +3056,10 @@ public:
m_ir->CreateStore(m_ir->getInt32(m_pos + 4), spu_ptr<u32>(&spu_thread::pc));
m_ir->CreateRetVoid();
}
else
{
check_state(m_pos + 4);
}
}
void STOPD(spu_opcode_t op) //