about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <numbksco@gmail.com>2023-06-24 16:36:50 +0800
committerGitHub <noreply@github.com>2023-06-24 10:36:50 +0200
commit4f69f090e6df23ccf21e2d81ae8e578b5451193a (patch)
tree6af153b0d9ea7a11bc47be0679b2fc57ac42e16a /src
parent0077fbe9163911a07e8db239c5887b1ebcbe27f6 (diff)
downloadbox64-4f69f090e6df23ccf21e2d81ae8e578b5451193a.tar.gz
box64-4f69f090e6df23ccf21e2d81ae8e578b5451193a.zip
[DYNAREC_RV64] Fixed a typo (#855)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_00_2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_00_2.c b/src/dynarec/rv64/dynarec_rv64_00_2.c
index 746488c6..b2954435 100644
--- a/src/dynarec/rv64/dynarec_rv64_00_2.c
+++ b/src/dynarec/rv64/dynarec_rv64_00_2.c
@@ -501,12 +501,12 @@ uintptr_t dynarec64_00_2(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
             ORI(xFlags, xFlags, 0x2);
             SET_DFNONE();
             if(box64_wine) {    // should this be done all the time?
-                ANDI(x1, xFlags, ~(1<<F_TF));
+                ANDI(x1, xFlags, 1 << F_TF);
                 CBZ_NEXT(x1);
                 MOV64x(xRIP, addr);
                 STORE_XEMU_CALL();
                 CALL(native_singlestep, -1);
-                ANDI(xFlags, xFlags, ~(1<<F_TF));
+                ANDI(xFlags, xFlags, ~(1 << F_TF));
             }
             break;
         case 0x9F: