Got SUBU to reset stack pointer if dest reg is SP

This commit is contained in:
zilmar 2012-09-28 08:55:45 +10:00
parent 77d68a5aad
commit 48f661a6d6
1 changed files with 5 additions and 0 deletions

View File

@ -2712,6 +2712,11 @@ void CRecompilerOps::SPECIAL_SUBU (void) {
SubVariableFromX86reg(cMipsRegMapLo(m_Opcode.rd),&_GPR[m_Opcode.rt].W[0],CRegName::GPR_Lo[m_Opcode.rt]);
}
}
if (bFastSP() && m_Opcode.rd == 29)
{
_MMU->ResetMemoryStack();
}
}
void CRecompilerOps::SPECIAL_AND (void)