about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-04 10:19:47 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-04 10:19:47 +0200
commit29f65bb6beff6457db6f00315c1395f944ec93ed (patch)
tree814655902322d3ef9b614bf9267bd9fcc0bcdf97 /src/emu
parentcce929341312896c0e03ee0380d14aa3cc473964 (diff)
downloadbox64-29f65bb6beff6457db6f00315c1395f944ec93ed.tar.gz
box64-29f65bb6beff6457db6f00315c1395f944ec93ed.zip
More work on mmap and the MAP_32BIT flag
Diffstat (limited to 'src/emu')
-rwxr-xr-xsrc/emu/x64int3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c
index 8b967ff9..73d57deb 100755
--- a/src/emu/x64int3.c
+++ b/src/emu/x64int3.c
@@ -117,7 +117,7 @@ void x64Int3(x64emu_t* emu)
                 } else  if(strstr(s, "my___printf_chk")) {
                     tmp = (char*)(R_RSI);
                     snprintf(buff, 255, "%04d|%p: Calling %s(%d, \"%s\" (,%p))", tid, *(void**)(R_RSP), s, R_EDI, (tmp)?tmp:"(nil)", (void*)(R_RDX));
-                } else  if(strstr(s, "mmap64")) {
+                } else  if(!strcmp(s, "mmap64") || !strcmp(s, "mmap")) {
                     snprintf(buff, 255, "%04d|%p: Calling %s(%p, %lu, 0x%x, 0x%x, %d, %ld)", tid, *(void**)(R_RSP), s, 
                         (void*)R_RDI, R_RSI, (int)(R_RDX), (int)R_RCX, (int)R_R8, R_R9);
                 } else  if(!strcmp(s, "sscanf")) {