diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-11-09 22:02:30 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-11-09 22:02:30 +0100 |
| commit | f13ee05c6a0a333990d14764e72b36b52af05b20 (patch) | |
| tree | 590322c1134e12b0fcc089a1296e87192067c0a0 /src | |
| parent | 90fd2ff6a34ac1dca08adda2dc8d01c17a7401be (diff) | |
| download | box64-f13ee05c6a0a333990d14764e72b36b52af05b20.tar.gz box64-f13ee05c6a0a333990d14764e72b36b52af05b20.zip | |
[RV64_DYNAREC] Fixed a nasty typo in add8c emitter
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/rv64/dynarec_rv64_emit_math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_emit_math.c b/src/dynarec/rv64/dynarec_rv64_emit_math.c index 5d6f7e0e..da7269ba 100644 --- a/src/dynarec/rv64/dynarec_rv64_emit_math.c +++ b/src/dynarec/rv64/dynarec_rv64_emit_math.c @@ -336,7 +336,7 @@ void emit_add8c(dynarec_rv64_t* dyn, int ninst, int s1, int c, int s2, int s3, i SET_DFNONE(); } IFX(X_AF | X_OF) { - if(X_PEND) {} else {MOV32w(s4, c&0xff);} + IFX(X_PEND) {} else {MOV32w(s4, c&0xff);} OR(s3, s1, s4); // s3 = op1 | op2 AND(s4, s1, s4); // s4 = op1 & op2 } |