about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-11-07 13:19:28 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-11-07 13:19:28 +0100
commit2827e9e253393e2546554d14d813c1bb2ad04dcd (patch)
tree4998f0fd5b0fc6895c241852d06dfe6c5db591b7 /src/tools
parent46ba6fc5617afd5ec8f437b4435e4cfca65c79bb (diff)
downloadbox64-2827e9e253393e2546554d14d813c1bb2ad04dcd.tar.gz
box64-2827e9e253393e2546554d14d813c1bb2ad04dcd.zip
[RCFILE] Disable FASTNAN, FASTROUND and CALLRET when using BOX64_DYNAREC_TEST in rcfile like in command line
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rcfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/rcfile.c b/src/tools/rcfile.c
index 874edffe..4217bf8d 100644
--- a/src/tools/rcfile.c
+++ b/src/tools/rcfile.c
@@ -593,6 +593,11 @@ void ApplyParams(const char* name)
     }
     if(!olddynarec && box64_dynarec)
         GatherDynarecExtensions();
+    if(param->is_box64_dynarec_test_present && box64_dynarec_test) {
+        box64_dynarec_fastnan = 0;
+        box64_dynarec_fastround = 0;
+        box64_dynarec_callret = 0;
+    }
     #endif
     if(box64_log==3) {
         box64_log = 2;