mirror of https://github.com/mgba-emu/mgba.git
ARM7: Fix decoding of Thumb ADD (variants 5 and 6)
This commit is contained in:
parent
a299a4e5ea
commit
2ed7d51376
1
CHANGES
1
CHANGES
|
@ -10,6 +10,7 @@ Bugfixes:
|
|||
- Util: Fix realloc semantics in utf16to8
|
||||
- PSP2: Fix GPU crash while exiting
|
||||
- PSP2: Fix VSync
|
||||
- ARM7: Fix decoding of Thumb ADD (variants 5 and 6)
|
||||
Misc:
|
||||
- 3DS: Use blip_add_delta_fast for a small speed improvement
|
||||
- OpenGL: Log shader compilation failure
|
||||
|
|
|
@ -143,7 +143,7 @@ DEFINE_DECODER_WITH_HIGH_THUMB(MOV3, MOV, ARM_OPERAND_AFFECTED_1, 0)
|
|||
|
||||
#define DEFINE_IMMEDIATE_WITH_REGISTER_DATA_THUMB(NAME, MNEMONIC, REG) \
|
||||
DEFINE_THUMB_DECODER(NAME, MNEMONIC, \
|
||||
info->op1.reg = (opcode >> 6) & 0x0007; \
|
||||
info->op1.reg = (opcode >> 8) & 0x0007; \
|
||||
info->op2.reg = REG; \
|
||||
info->op3.immediate = (opcode & 0x00FF) << 2; \
|
||||
info->operandFormat = ARM_OPERAND_REGISTER_1 | \
|
||||
|
|
Loading…
Reference in New Issue