all repos — mgba @ a2cd8f6cce7b2ee7da52d603d0877b291dc4c693

mGBA Game Boy Advance Emulator

ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes #1915)
Vicki Pfau vi@endrift.com
Sat, 24 Oct 2020 15:46:11 -0700
commit

a2cd8f6cce7b2ee7da52d603d0877b291dc4c693

parent

4aed125b3e4de2bd563d497967520c379ab46a40

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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) \