mirror of https://github.com/mgba-emu/mgba.git
Fix BX
This commit is contained in:
parent
8eb8cdfad8
commit
3121ed0bb6
|
@ -394,7 +394,7 @@ DEFINE_INSTRUCTION_THUMB(BL2, \
|
|||
THUMB_WRITE_PC;)
|
||||
|
||||
DEFINE_INSTRUCTION_THUMB(BX, \
|
||||
int rm = opcode & 0x0000000F; \
|
||||
int rm = (opcode >> 3) & 0xF; \
|
||||
_ARMSetMode(cpu, cpu->gprs[rm] & 0x00000001);
|
||||
int misalign = 0;
|
||||
if (rm == ARM_PC) {
|
||||
|
|
Loading…
Reference in New Issue