Core: Update pipeline before sync in CX86RecompilerOps::OverflowDelaySlot

This commit is contained in:
zilmar 2023-09-28 06:39:39 +09:30
parent 2caa457d02
commit 03e13455f9
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{