From 0c1ee23f55b951ca7add4f14b6b24f8e920a13d5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 12 May 2021 10:34:03 +0200 Subject: [PATCH] Better log for my_open64 --- src/emu/x86int3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c index d2eb09e1f7..92efe3f66c 100755 --- a/src/emu/x86int3.c +++ b/src/emu/x86int3.c @@ -121,7 +121,7 @@ void x86Int3(x86emu_t* emu) } else if(!strcmp(s, "opendir")) { snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\")", tid, *(void**)(R_ESP), s, *(char**)(R_ESP+4)); perr = 1; - } else if(strstr(s, "__open")==s || strcmp(s, "open")==0) { + } else if(strstr(s, "__open")==s || !strcmp(s, "open") || !strcmp(s, "my_open64")) { tmp = *(char**)(R_ESP+4); snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", %d (,%d))", tid, *(void**)(R_ESP), s, (tmp)?tmp:"(nil)", *(int*)(R_ESP+8), *(int*)(R_ESP+12)); perr = 1;