From 9575e7f0d29b2f532fe2e0644135402138d397de Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 7 Apr 2013 01:39:08 -0700 Subject: [PATCH] Fix B --- src/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,)