ARM7: Fix decoding of Thumb ADD (variants 5 and 6)

This commit is contained in:
Jeffrey Pfau 2016-07-31 00:27:16 -07:00
parent a299a4e5ea
commit 2ed7d51376
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 | \