about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-24 16:49:19 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-24 16:49:19 +0200
commit1aa42a6779310b74ad1a6a0a95b5e3fd2ed1e817 (patch)
treeddd5aea60901e192438f3e75cbf3a04428925624 /src
parent73b3aec3ed479ca1599816c3fa9558dcb383d302 (diff)
downloadbox64-1aa42a6779310b74ad1a6a0a95b5e3fd2ed1e817.tar.gz
box64-1aa42a6779310b74ad1a6a0a95b5e3fd2ed1e817.zip
[BOX32][TRACE] Fixed semop traces
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x86int3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c
index aa869dae..79f18a5e 100755
--- a/src/emu/x86int3.c
+++ b/src/emu/x86int3.c
@@ -196,7 +196,7 @@ void x86Int3(x64emu_t* emu, uintptr_t* addr)
                     pu32 = (uint32_t*)from_ptr(*(ptr_t*)from_ptr(R_ESP+8));
                 } else  if(strstr(s, "semop")==s) {
                     int16_t* p16 = *(int16_t**)from_ptr(R_ESP+8);
-                    snprintf(buff, 255, "%04d|%p: Calling %s(%d, %p[%u/%d/0x%x], %d)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, *(int*)from_ptr(R_ESP+4), p16, p16[0], p16[1], p16[2], *(int*)from_ptr(R_ESP+12));
+                    snprintf(buff, 255, "%04d|%p: Calling %s(%d, %p, %d)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, *(int*)from_ptr(R_ESP+4), p16, *(int*)from_ptr(R_ESP+12));
                     perr = 1;
                 } else  if(!strcmp(s, "mmap64")) {
                     snprintf(buff, 255, "%04d|%p: Calling %s(%p, 0x%x, %d, 0x%x, %d, %ld)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), s, from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), *(ulong_t*)from_ptr(R_ESP+8), *(int*)from_ptr(R_ESP+12), *(int*)from_ptr(R_ESP+16), *(int*)from_ptr(R_ESP+20), *(int64_t*)from_ptr(R_ESP+24));