all repos — mgba @ 9575e7f0d29b2f532fe2e0644135402138d397de

mGBA Game Boy Advance Emulator

Fix B
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:39:08 -0700
commit

9575e7f0d29b2f532fe2e0644135402138d397de

parent

0e2394e7d5a7172ba1a60d424066c9947b5fe581

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

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

@@ -379,7 +379,7 @@ // Begin branch definitions

DEFINE_INSTRUCTION_ARM(B, \ int32_t offset = opcode << 8; \ - offset >>= 8; \ + offset >>= 6; \ cpu->gprs[ARM_PC] += offset) DEFINE_INSTRUCTION_ARM(BL,)