the docs lied to me (again)

This commit is contained in:
Jaklyy
2024-08-26 16:31:20 -04:00
parent 40e8e8e7bd
commit f692e7391a

View File

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