mrc causes interlocks

This commit is contained in:
Jaklyy 2024-10-18 17:10:00 -04:00
parent 0e6d3fd834
commit 8ff0946b8a
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,8 @@ void A_MRC(ARM* cpu)
cpu->AddCycles_C(); // 1 Execute cycle
cpu->DataRegion = Mem9_Null;
((ARMv5*)cpu)->AddCycles_MW(2); // 2 Memory cycles
((ARMv5*)cpu)->ILCurrReg = (cpu->CurInstr >> 12) & 0xF; // only one rd interlocks
((ARMv5*)cpu)->ILCurrTime = ((ARMv5*)cpu)->TimestampActual;
}
else cpu->AddCycles_CI(2 + 1); // TODO: checkme
}