Core: Syscall should increment cycle count

This commit is contained in:
zilmar 2022-09-05 20:00:28 +09:30
parent 43c89a517b
commit 479e2e518c
1 changed files with 1 additions and 0 deletions

View File

@ -4434,6 +4434,7 @@ void CX86RecompilerOps::SPECIAL_JALR()
void CX86RecompilerOps::SPECIAL_SYSCALL()
{
m_RegWorkingSet.SetBlockCycleCount(m_RegWorkingSet.GetBlockCycleCount() + g_System->CountPerOp());
CompileExit(m_CompilePC, (uint32_t)-1, m_RegWorkingSet, ExitReason_DoSysCall, true, nullptr);
m_PipelineStage = PIPELINE_STAGE_END_BLOCK;
}