Core: Make sure CX86RecompilerOps::SPECIAL_AND can not write to R0
This commit is contained in:
parent
a38467cc19
commit
c39582b9ed
|
@ -5470,6 +5470,10 @@ void CX86RecompilerOps::SPECIAL_SUBU()
|
|||
|
||||
void CX86RecompilerOps::SPECIAL_AND()
|
||||
{
|
||||
if (m_Opcode.rd == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (m_RegWorkingSet.IsKnown(m_Opcode.rt) && m_RegWorkingSet.IsKnown(m_Opcode.rs))
|
||||
{
|
||||
if (m_RegWorkingSet.IsConst(m_Opcode.rt) && m_RegWorkingSet.IsConst(m_Opcode.rs))
|
||||
|
|
Loading…
Reference in New Issue