diff --git a/src/arm.c b/src/arm.c index 338914709..1dd664aa0 100644 --- a/src/arm.c +++ b/src/arm.c @@ -379,7 +379,7 @@ DEFINE_INSTRUCTION_ARM(SWPB,) DEFINE_INSTRUCTION_ARM(B, \ int32_t offset = opcode << 8; \ - offset >>= 8; \ + offset >>= 6; \ cpu->gprs[ARM_PC] += offset) DEFINE_INSTRUCTION_ARM(BL,)