Skip to content

Commit

Permalink
Core: Update pipeline before sync in CX86RecompilerOps::OverflowDelay…
Browse files Browse the repository at this point in the history
…Slot
  • Loading branch information
project64 committed Sep 27, 2023
1 parent 2caa457 commit 03e1345
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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)
{
Expand Down

0 comments on commit 03e1345

Please sign in to comment.