Reset compile PC on delay slot section
This commit is contained in:
parent
5f41558e49
commit
d6a1a8cf52
|
@ -1275,6 +1275,7 @@ bool CCodeSection::GenerateX86Code ( DWORD Test )
|
||||||
|
|
||||||
if (m_DelaySlot && (CompilePC() & 0xFFC) != 0xFFC)
|
if (m_DelaySlot && (CompilePC() & 0xFFC) != 0xFFC)
|
||||||
{
|
{
|
||||||
|
m_CompilePC = m_Jump.JumpPC;
|
||||||
m_Jump.RegSet = m_RegWorkingSet;
|
m_Jump.RegSet = m_RegWorkingSet;
|
||||||
m_Jump.FallThrough = true;
|
m_Jump.FallThrough = true;
|
||||||
GenerateSectionLinkage();
|
GenerateSectionLinkage();
|
||||||
|
|
Loading…
Reference in New Issue