mirror of https://github.com/mgba-emu/mgba.git
ARM: Fix regression setting C flag in SBC (fixes #1827)
This commit is contained in:
parent
89f9a0b8b1
commit
3210d5f272
|
@ -26,7 +26,6 @@
|
|||
cpu->cpsr.v = ARM_V_SUBTRACTION(M, N, D);
|
||||
|
||||
#define THUMB_SUBTRACTION_CARRY_S(M, N, D, C) \
|
||||
cpu->cpsr.flags = 0; \
|
||||
cpu->cpsr.n = ARM_SIGN(D); \
|
||||
cpu->cpsr.z = !(D); \
|
||||
cpu->cpsr.c = ARM_BORROW_FROM_CARRY(M, N, D, C); \
|
||||
|
|
Loading…
Reference in New Issue