about summary refs log tree commit diff stats
path: root/src/dynarec
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-01-29 20:37:08 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-01-29 20:37:08 +0100
commit1db09fe897b79b6cdbb7fb9af7a9570c949d0d79 (patch)
tree93e62a610a39b0e7d70118c7b2a0d6bf74c713d8 /src/dynarec
parent22a5b573d5cff6ff0c7d1f4ec7646136c4de8445 (diff)
downloadbox64-1db09fe897b79b6cdbb7fb9af7a9570c949d0d79.tar.gz
box64-1db09fe897b79b6cdbb7fb9af7a9570c949d0d79.zip
More improvmnet to map with fd tracking
Diffstat (limited to 'src/dynarec')
-rw-r--r--src/dynarec/dynarec_native_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native_pass.c b/src/dynarec/dynarec_native_pass.c
index f767942c..1e013eb6 100644
--- a/src/dynarec/dynarec_native_pass.c
+++ b/src/dynarec/dynarec_native_pass.c
@@ -57,7 +57,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr, int alternate, int
     ARCH_INIT();
     int reset_n = -1; // -1 no reset; -2 reset to 0; else reset to the state of reset_n
     dyn->last_ip = (alternate || (dyn->insts && dyn->insts[0].pred_sz))?0:ip;  // RIP is always set at start of block unless there is a predecessor!
-    int stopblock = 2 + ((FindElfAddress(my_context, addr) || IsAddrFileMapped(addr)) ? 0 : 1);            // if block is in elf memory or file mapped memory, it can be extended with BOX64DRENV(dynarec_bigblock)==2, else it needs 3
+    int stopblock = 2 + ((FindElfAddress(my_context, addr) || IsAddrFileMapped(addr, NULL, NULL)) ? 0 : 1);            // if block is in elf memory or file mapped memory, it can be extended with BOX64DRENV(dynarec_bigblock)==2, else it needs 3
     // ok, go now
     INIT;
     #if STEP == 0