about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/dynarec/rv64/dynarec_rv64_660f.c8
-rw-r--r--system/box64.box64rc10
2 files changed, 4 insertions, 14 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_660f.c b/src/dynarec/rv64/dynarec_rv64_660f.c
index ee84bd68..d1f343b1 100644
--- a/src/dynarec/rv64/dynarec_rv64_660f.c
+++ b/src/dynarec/rv64/dynarec_rv64_660f.c
@@ -463,9 +463,9 @@ uintptr_t dynarec64_660F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
                             MIN(x3, x3, x5);
                             MAX(x3, x3, xZR);
                         } else {
-                            BLT(x3, xZR, 4+4);
+                            BGE(x3, xZR, 4+4);
                             MV(x3, xZR);
-                            BGE(x3, x5, 4+4);
+                            BLT(x3, x5, 4+4);
                             MV(x3, x5);
                         }
                         SH(x3, gback, i*2);
@@ -479,9 +479,9 @@ uintptr_t dynarec64_660F(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
                             MIN(x3, x3, x5);
                             MAX(x3, x3, xZR);
                         } else {
-                            BLT(x3, xZR, 4+4);
+                            BGE(x3, xZR, 4+4);
                             MV(x3, xZR);
-                            BGE(x3, x5, 4+4);
+                            BLT(x3, x5, 4+4);
                             MV(x3, x5);
                         }
                         SH(x3, gback, 8+i*2);
diff --git a/system/box64.box64rc b/system/box64.box64rc
index 7bfcf4fc..648d9eb0 100644
--- a/system/box64.box64rc
+++ b/system/box64.box64rc
@@ -7,7 +7,6 @@
 # 
 [3dSen.x86_64]
 BOX64_DYNAREC_BLEEDING_EDGE=0   # avoid the use of STRONGMEM for much better performances
-BOX64_DYNAREC_HOTPAGE=0 # disabling hotpage seems to give better performances here
 
 [7z]
 # Those are safe to use on 7z and give a bit of a boost
@@ -26,12 +25,6 @@ BOX64_DYNAREC_CALLRET=1
 [chrome]
 BOX64_MALLOC_HACK=2
 
-[dav1d]
-# Speed hacks (those 3 gives ~10% speedup)
-BOX64_DYNAREC_SAFEFLAGS=0
-BOX64_DYNAREC_BIGBLOCK=2
-BOX64_DYNAREC_CALLRET=1
-
 [deadcells]
 BOX64_PREFER_EMULATED=1
 
@@ -97,9 +90,6 @@ BOX64_DYNAREC_BIGBLOCK=0
 # if steamwebhelper takes too much memory, enable next line to disable it
 #BOX64_EXIT=1
 
-[Stardew Valley]
-BOX64_DYNAREC_HOTPAGE=0
-
 [steam-runtime-check-requirements]
 BOX64_EXIT=1