all repos — mgba @ 75fdcd67509a4a9d4de75ad35aa48fc50f514364

mGBA Game Boy Advance Emulator

Add missing CPSR update for ASR(2)
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Apr 2013 01:48:00 -0700
commit

75fdcd67509a4a9d4de75ad35aa48fc50f514364

parent

c51ad65cacdc9a9fe4ba08cb121eb5a0513ac7d8

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/isa-thumb.csrc/isa-thumb.c

@@ -196,7 +196,8 @@ } else { \

cpu->gprs[rd] = 0; \ } \ } \ - }) + } \ + THUMB_NEUTRAL_S( , , cpu->gprs[rd])) DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(ADC, ARM_STUB) DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(SBC, ARM_STUB)