Core: Update pipeline before sync in CX86RecompilerOps::OverflowDelaySlot
This commit is contained in:
parent
2caa457d02
commit
03e13455f9
|
@ -9572,11 +9572,11 @@ void CX86RecompilerOps::OverflowDelaySlot(bool TestTimer)
|
|||
{
|
||||
m_Assembler.MoveConstToVariable(&m_Reg.m_PROGRAM_COUNTER, "PROGRAM_COUNTER", CompilePC() + 4);
|
||||
}
|
||||
m_Assembler.MoveConstToVariable(&g_System->m_PipelineStage, "System->m_PipelineStage", PIPELINE_STAGE_JUMP);
|
||||
if (g_SyncSystem)
|
||||
{
|
||||
m_Assembler.CallThis((uint32_t)g_BaseSystem, AddressOf(&CN64System::SyncSystem), "CN64System::SyncSystem", 4);
|
||||
}
|
||||
m_Assembler.MoveConstToVariable(&g_System->m_PipelineStage, "System->m_PipelineStage", PIPELINE_STAGE_JUMP);
|
||||
|
||||
if (TestTimer)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue