about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-01-24 01:46:18 +0800
committerGitHub <noreply@github.com>2025-01-23 18:46:18 +0100
commit7099774a3c82642ad64bc3a4f1b798e951904f7d (patch)
tree6432d96090892c5f7a6e52c9c3cf18ab09a1a60b /src/wrapped
parent925f6a992232e1011667d6334b04072f75659386 (diff)
downloadbox64-7099774a3c82642ad64bc3a4f1b798e951904f7d.tar.gz
box64-7099774a3c82642ad64bc3a4f1b798e951904f7d.zip
[DYNAREC] Added preliminary per-file settings (#2288)
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/wrappedlibc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index ead6574d..d3af7de0 100644
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -3005,7 +3005,8 @@ EXPORT void* my_mmap64(x64emu_t* emu, void *addr, size_t length, int prot, int f
                 prot |= PROT_NEVERCLEAN;
             }
         }
-        detect_unityplayer(fd);
+        DetectUnityPlayer(fd);
+        RecordEnvMappings((uintptr_t)addr, length, fd);
         if(emu)
             setProtection_mmap((uintptr_t)ret, length, prot);
         else