ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes #1915)
Vicki Pfau vi@endrift.com
Sat, 24 Oct 2020 15:46:11 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -61,6 +61,7 @@ - 3DS: Redo video sync to be more precise
- 3DS: Fix crash with libctru 2.0 when exiting - 3DS: Fix thread cleanup - All: Improve export headers (fixes mgba.io/i/1738) + - ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes mgba.io/i/1915) - Core: Ensure ELF regions can be written before trying - Core: Fix reported ROM size when a fixed buffer size is used - Core: Fix memory leak loading ELF files
M
src/arm/decoder-arm.c
→
src/arm/decoder-arm.c
@@ -218,6 +218,7 @@ DEFINE_LOAD_STORE_DECODER_EX_ARM(NAME ## PU, MNEMONIC, \
ARM_MEMORY_ ## FORMAT, \ ADDRESSING_MODE, FORMAT ## _CYCLES, ARM_ACCESS_ ## TYPE, OTHER_AFFECTED) \ DEFINE_LOAD_STORE_DECODER_EX_ARM(NAME ## PUW, MNEMONIC, \ + ARM_MEMORY_PRE_INCREMENT | \ ARM_MEMORY_WRITEBACK | \ ARM_MEMORY_ ## FORMAT, \ ADDRESSING_MODE, FORMAT ## _CYCLES, ARM_ACCESS_ ## TYPE, OTHER_AFFECTED) \