about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-20 19:05:03 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-20 19:05:03 +0100
commitdbd83a8b28be38f39885884a4c333d04060877c4 (patch)
tree8a00b5a1ae3f5e9b261122075072f8c5662f2c2e /src
parent36d62235b3552f2f5bd19b39d163c80eba567dd6 (diff)
downloadbox64-dbd83a8b28be38f39885884a4c333d04060877c4.tar.gz
box64-dbd83a8b28be38f39885884a4c333d04060877c4.zip
[DYNAREC] Fixed xor8 emitter, but ThimbleWeedPark is broken
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec_arm64_emit_logic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/dynarec_arm64_emit_logic.c b/src/dynarec/dynarec_arm64_emit_logic.c
index 66f2cc9c..9d12d333 100755
--- a/src/dynarec/dynarec_arm64_emit_logic.c
+++ b/src/dynarec/dynarec_arm64_emit_logic.c
@@ -296,8 +296,8 @@ void emit_or8c(dynarec_arm_t* dyn, int ninst, int s1, int32_t c, int s3, int s4)
 void emit_xor8(dynarec_arm_t* dyn, int ninst, int s1, int s2, int s3, int s4)
 {
     IFX(X_PEND) {
-        STRB_REG(s1, xEmu, offsetof(x64emu_t, op1));
-        STRB_REG(s2, xEmu, offsetof(x64emu_t, op2));
+        STRB_U12(s1, xEmu, offsetof(x64emu_t, op1));
+        STRB_U12(s2, xEmu, offsetof(x64emu_t, op2));
         SET_DF(s3, d_xor8);
     } else IFX(X_ALL) {
         SET_DFNONE(s3);