Reset compile PC on delay slot section

This commit is contained in:
zilmar 2012-10-20 09:06:15 +11:00
parent 5f41558e49
commit d6a1a8cf52
1 changed files with 1 additions and 0 deletions

View File

@ -1275,6 +1275,7 @@ bool CCodeSection::GenerateX86Code ( DWORD Test )
if (m_DelaySlot && (CompilePC() & 0xFFC) != 0xFFC)
{
m_CompilePC = m_Jump.JumpPC;
m_Jump.RegSet = m_RegWorkingSet;
m_Jump.FallThrough = true;
GenerateSectionLinkage();