about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-23 22:12:28 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-23 22:12:28 +0100
commit6e90c47e74ee9409bffbe0f9ae14f2445af634bc (patch)
treee23bdb90b9376c6b5939abeb8e8b40cc6c00000e /src
parent365d2b0eb2711e71ef74007b4cbd54a12197f000 (diff)
downloadbox64-6e90c47e74ee9409bffbe0f9ae14f2445af634bc.tar.gz
box64-6e90c47e74ee9409bffbe0f9ae14f2445af634bc.zip
[DYNAREC] Fixed 66 F2/F2 A5 opcode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec_arm64_66.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/dynarec_arm64_66.c b/src/dynarec/dynarec_arm64_66.c
index 0c7f7b88..d3344e67 100755
--- a/src/dynarec/dynarec_arm64_66.c
+++ b/src/dynarec/dynarec_arm64_66.c
@@ -456,8 +456,8 @@ uintptr_t dynarec64_66(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
                 CBNZx_MARK(xRCX);

                 B_NEXT_nocond;

                 MARK2;  // Part with DF==1

-                LDRH_S9_postindex(x1, xRSI, -1);

-                STRH_S9_postindex(x1, xRDI, -1);

+                LDRH_S9_postindex(x1, xRSI, -2);

+                STRH_S9_postindex(x1, xRDI, -2);

                 SUBx_U12(xRCX, xRCX, 1);

                 CBNZx_MARK2(xRCX);

                 // done