the docs lied to me (again)
This commit is contained in:
parent
40e8e8e7bd
commit
f692e7391a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue