about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorxctan <xctan@cirno.icu>2024-08-09 15:25:27 +0800
committerGitHub <noreply@github.com>2024-08-09 09:25:27 +0200
commitcef906b24dfd67e9c7672a42a2b58fe55d140203 (patch)
tree0dddab1f1f307b4c09b69a29231c2dc763282de7 /src
parent040c2c3d1b4acaaa58dbec94ff4c1d8e553b102c (diff)
downloadbox64-cef906b24dfd67e9c7672a42a2b58fe55d140203.tar.gz
box64-cef906b24dfd67e9c7672a42a2b58fe55d140203.zip
[RV64_DYNAREC] Fixed register conflict in the GETSEB marco (#1719)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_helper.h b/src/dynarec/rv64/dynarec_rv64_helper.h
index b45e95a4..22ef28f2 100644
--- a/src/dynarec/rv64/dynarec_rv64_helper.h
+++ b/src/dynarec/rv64/dynarec_rv64_helper.h
@@ -334,7 +334,7 @@
         ed = i;                                                                                 \
     } else {                                                                                    \
         SMREAD();                                                                               \
-        addr = geted(dyn, addr, ninst, nextop, &wback, x2, x3, &fixedaddress, rex, NULL, 1, D); \
+        addr = geted(dyn, addr, ninst, nextop, &wback, x3, x2, &fixedaddress, rex, NULL, 1, D); \
         LB(i, wback, fixedaddress);                                                             \
         wb1 = 1;                                                                                \
         ed = i;                                                                                 \