mirror of https://github.com/mgba-emu/mgba.git
Fix B
This commit is contained in:
parent
0e2394e7d5
commit
9575e7f0d2
|
@ -379,7 +379,7 @@ DEFINE_INSTRUCTION_ARM(SWPB,)
|
||||||
|
|
||||||
DEFINE_INSTRUCTION_ARM(B, \
|
DEFINE_INSTRUCTION_ARM(B, \
|
||||||
int32_t offset = opcode << 8; \
|
int32_t offset = opcode << 8; \
|
||||||
offset >>= 8; \
|
offset >>= 6; \
|
||||||
cpu->gprs[ARM_PC] += offset)
|
cpu->gprs[ARM_PC] += offset)
|
||||||
|
|
||||||
DEFINE_INSTRUCTION_ARM(BL,)
|
DEFINE_INSTRUCTION_ARM(BL,)
|
||||||
|
|
Loading…
Reference in New Issue