about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <numbksco@gmail.com>2024-09-26 16:04:20 +0800
committerGitHub <noreply@github.com>2024-09-26 10:04:20 +0200
commit933dc0f5c83016345bef0dd7c5b5b88de495c9c3 (patch)
treeaa3679141c5ebabd0eccd9d1581c5e249a18b6c8 /src
parent6a3904fc48f360544db07266c42e1ddc77976be1 (diff)
downloadbox64-933dc0f5c83016345bef0dd7c5b5b88de495c9c3.tar.gz
box64-933dc0f5c83016345bef0dd7c5b5b88de495c9c3.zip
[LA64_DYNAREC] Fixed emit_add16 LBT implementation (#1875)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/la64/dynarec_la64_emit_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/la64/dynarec_la64_emit_math.c b/src/dynarec/la64/dynarec_la64_emit_math.c
index 1e7fc3f9..47cf7ffd 100644
--- a/src/dynarec/la64/dynarec_la64_emit_math.c
+++ b/src/dynarec/la64/dynarec_la64_emit_math.c
@@ -423,7 +423,7 @@ void emit_add16(dynarec_la64_t* dyn, int ninst, int s1, int s2, int s3, int s4,
     }
 
     IFXA (X_ALL, la64_lbt) {
-        X64_ADD_DU(s1, s2);
+        X64_ADD_H(s1, s2);
     }
 
     ADD_D(s1, s1, s2);