all repos — mgba @ 7e6f9f20925afc666e964d8a599331ebbf95ced9

mGBA Game Boy Advance Emulator

ARM7: Fix typo that invoked undefined behavior
Jeffrey Pfau jeffrey@endrift.com
Sat, 16 Jan 2016 10:06:01 -0800
commit

7e6f9f20925afc666e964d8a599331ebbf95ced9

parent

1dceadbbf526d76c33023f7545702bdaf93452d7

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

jump to
M src/arm/decoder-arm.csrc/arm/decoder-arm.c

@@ -106,7 +106,7 @@ info->op2 = info->op3; \

info->operandFormat >>= 8; \ } else if (SKIPPED == 2) { \ info->op2 = info->op3; \ - info->operandFormat |= info->operandFormat >>= 8; \ + info->operandFormat |= info->operandFormat >> 8; \ info->operandFormat &= ~ARM_OPERAND_3; \ } \ if (info->op1.reg == ARM_PC) { \