mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
the docs lied to me (again)
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user