Fixed that Interpreter and cpu will both have same cycle count after MT CP0 Compare

This commit is contained in:
zilmar 2012-09-24 08:21:56 +10:00
parent 35890965a0
commit fe2b8eae9b
1 changed files with 3 additions and 1 deletions

View File

@ -3981,7 +3981,9 @@ void CRecompilerOps::COP0_MT (void) {
}
break;
case 11: //Compare
UpdateCounters(m_RegWorkingSet,false,true);
m_RegWorkingSet.SetBlockCycleCount(m_RegWorkingSet.GetBlockCycleCount() - g_CountPerOp) ;
UpdateCounters(m_RegWorkingSet,false, true);
m_RegWorkingSet.SetBlockCycleCount(m_RegWorkingSet.GetBlockCycleCount() + g_CountPerOp) ;
BeforeCallDirect(m_RegWorkingSet);
MoveConstToX86reg((DWORD)_SystemTimer,x86_ECX);
Call_Direct(AddressOf(&CSystemTimer::UpdateTimers), "CSystemTimer::UpdateTimers");