sat add/sub also fail to jump

This commit is contained in:
Jaklyy 2024-09-16 13:10:13 -04:00
parent 3b9a9e4eb3
commit ac8c942565
1 changed files with 12 additions and 4 deletions

View File

@ -1110,7 +1110,9 @@ void A_QADD(ARM* cpu)
cpu->CPSR |= 0x08000000;
}
if (((cpu->CurInstr >> 12) & 0xF) != 15)
cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
cpu->AddCycles_C(); // TODO: interlock??
}
@ -1128,7 +1130,9 @@ void A_QSUB(ARM* cpu)
cpu->CPSR |= 0x08000000;
}
if (((cpu->CurInstr >> 12) & 0xF) != 15)
cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
cpu->AddCycles_C(); // TODO: interlock??
}
@ -1154,7 +1158,9 @@ void A_QDADD(ARM* cpu)
cpu->CPSR |= 0x08000000;
}
if (((cpu->CurInstr >> 12) & 0xF) != 15)
cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
cpu->AddCycles_C(); // TODO: interlock??
}
@ -1180,7 +1186,9 @@ void A_QDSUB(ARM* cpu)
cpu->CPSR |= 0x08000000;
}
if (((cpu->CurInstr >> 12) & 0xF) != 15)
cpu->R[(cpu->CurInstr >> 12) & 0xF] = res;
cpu->AddCycles_C(); // TODO: interlock??
}