the docs lied to me (again)

This commit is contained in:
Jaklyy 2024-08-26 16:31:20 -04:00
parent 40e8e8e7bd
commit f692e7391a
1 changed files with 2 additions and 4 deletions

View File

@ -121,8 +121,7 @@ void A_MSR_IMM(ARM* cpu)
if (!(cpu->CurInstr & (1<<22)))
cpu->UpdateMode(oldpsr, cpu->CPSR);
if ((cpu->Num != 1) && (cpu->CurInstr & (0x7<<16))) cpu->AddCycles_CI(2);
else cpu->AddCycles_C();
cpu->AddCycles_C();
}
void A_MSR_REG(ARM* cpu)
@ -175,8 +174,7 @@ void A_MSR_REG(ARM* cpu)
if (!(cpu->CurInstr & (1<<22)))
cpu->UpdateMode(oldpsr, cpu->CPSR);
if ((cpu->Num != 1) && (cpu->CurInstr & (0x7<<16))) cpu->AddCycles_CI(2);
else cpu->AddCycles_C();
cpu->AddCycles_C();
}
void A_MRS(ARM* cpu)