mirror of https://github.com/mgba-emu/mgba.git
ARM7: Fix instruction decoding of Thumb shifts
This commit is contained in:
parent
2c7bb64ada
commit
c503b71229
1
CHANGES
1
CHANGES
|
@ -17,6 +17,7 @@ Bugfixes:
|
||||||
- GBA: Fix autodetect problems with some bad dumps of Super Mario Advance 2
|
- GBA: Fix autodetect problems with some bad dumps of Super Mario Advance 2
|
||||||
- GBA Memory: Fix bad BIOS Load16 on big endian
|
- GBA Memory: Fix bad BIOS Load16 on big endian
|
||||||
- GBA Memory: Fix bad Load8 on big endian
|
- GBA Memory: Fix bad Load8 on big endian
|
||||||
|
- ARM7: Fix instruction decoding of Thumb shifts
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Remove useless help icons in dialogs
|
- Qt: Remove useless help icons in dialogs
|
||||||
- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
|
- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#define DEFINE_IMMEDIATE_5_DECODER_DATA_THUMB(NAME, MNEMONIC) \
|
#define DEFINE_IMMEDIATE_5_DECODER_DATA_THUMB(NAME, MNEMONIC) \
|
||||||
DEFINE_THUMB_DECODER(NAME, MNEMONIC, \
|
DEFINE_THUMB_DECODER(NAME, MNEMONIC, \
|
||||||
info->op3.immediate = (opcode >> 6) & 0x0007; \
|
info->op3.immediate = (opcode >> 6) & 0x001F; \
|
||||||
info->op1.reg = opcode & 0x0007; \
|
info->op1.reg = opcode & 0x0007; \
|
||||||
info->op2.reg = (opcode >> 3) & 0x0007; \
|
info->op2.reg = (opcode >> 3) & 0x0007; \
|
||||||
info->affectsCPSR = 1; \
|
info->affectsCPSR = 1; \
|
||||||
|
|
Loading…
Reference in New Issue