all repos — mgba @ 67cf9b78b3d09a423874cdb3002efdd0a46d74b1

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

67cf9b78b3d09a423874cdb3002efdd0a46d74b1

parent

e017d93f3fd2e2c7f8b5243e57cf45aa34a44d7c

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

jump to
M CHANGESCHANGES

@@ -18,6 +18,7 @@ - GBA Video: Fix mode 4 transparency in OpenGL (fixes mgba.io/i/1907)

Other fixes: - 3DS: Redo video sync to be more precise - 3DS: Fix crash with libctru 2.0 when exiting + - ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes mgba.io/i/1915) - Core: Fix reported ROM size when a fixed buffer size is used - Core: Fix memory leak loading ELF files - GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
M src/arm/decoder-arm.csrc/arm/decoder-arm.c

@@ -214,6 +214,7 @@ DEFINE_LOAD_STORE_DECODER_EX_ARM(NAME ## PU, MNEMONIC, \

0, \ ADDRESSING_MODE, CYCLES, TYPE, OTHER_AFFECTED) \ DEFINE_LOAD_STORE_DECODER_EX_ARM(NAME ## PUW, MNEMONIC, \ + ARM_MEMORY_PRE_INCREMENT | \ ARM_MEMORY_WRITEBACK, \ ADDRESSING_MODE, CYCLES, TYPE, OTHER_AFFECTED) \