mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-02 00:15:06 +01:00
dyncom: Actually set the Q flag for SMLABB/SMLABT/SMLATB/SMLATT
Easy skyeye todo fix.
This commit is contained in:
parent
8b1ec1a82a
commit
e08a39a2f4
@ -5571,7 +5571,8 @@ unsigned InterpreterMainLoop(ARMul_State* state) {
|
||||
operand2 = (BIT(RS, 31)) ? (BITS(RS, 16, 31) | 0xffff0000) : BITS(RS, 16, 31);
|
||||
RD = operand1 * operand2 + RN;
|
||||
|
||||
// TODO: FIXME: UPDATE Q FLAGS
|
||||
if (AddOverflow(operand1 * operand2, RN, RD))
|
||||
cpu->Cpsr |= (1 << 27);
|
||||
}
|
||||
cpu->Reg[15] += GET_INST_SIZE(cpu);
|
||||
INC_PC(sizeof(smla_inst));
|
||||
|
Loading…
Reference in New Issue
Block a user