diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-10-11 13:20:14 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-10-11 13:20:14 +0200 |
| commit | 93e3fcb3868f2c3d43a90164000a0b8eb37b281a (patch) | |
| tree | b313778878068cad8bef2fe65706d8e2e9404968 /src | |
| parent | 143fc90a4c40d93553ce42e23b696628095363b9 (diff) | |
| download | box64-93e3fcb3868f2c3d43a90164000a0b8eb37b281a.tar.gz box64-93e3fcb3868f2c3d43a90164000a0b8eb37b281a.zip | |
[BOX32][TRACE] Better for XRRSetScreenSize
Diffstat (limited to 'src')
| -rwxr-xr-x | src/emu/x86int3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c index 6d0780f3..04cfdb49 100755 --- a/src/emu/x86int3.c +++ b/src/emu/x86int3.c @@ -329,6 +329,8 @@ void x86Int3(x64emu_t* emu, uintptr_t* addr) snprintf(buff, 255, "%04d|%p: Calling %s(%p, %p, %d, %d, %u, %u, %u, %d, %u, %p, 0x%x, %p)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), (char *)s, (char *)from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), (char *)from_ptrv(*(ptr_t*)from_ptr(R_ESP+8)), *(int*)from_ptr(R_ESP+12), *(int*)from_ptr(R_ESP+16), *(uint32_t*)from_ptr(R_ESP+20), *(uint32_t*)from_ptr(R_ESP+24), *(uint32_t*)from_ptr(R_ESP+28), *(int32_t*)from_ptr(R_ESP+32), *(uint32_t*)from_ptr(R_ESP+36), from_ptrv(*(ptr_t*)from_ptr(R_ESP+40)), *(uint32_t*)from_ptr(R_ESP+44), from_ptrv(*(ptr_t*)from_ptr(R_ESP+48))); } else if(strstr(s, "XLoadQueryFont")==s) { snprintf(buff, 255, "%04d|%p: Calling %s(%p, \"%s\")", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), (char *)s, (char *)from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), (char *)from_ptrv(*(ptr_t*)from_ptr(R_ESP+8))); + } else if(strstr(s, "XRRSetScreenSize")==s) { + snprintf(buff, 255, "%04d|%p: Calling %s(%p, %u, %d, %d, %d, %d)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), (char *)s, (char *)from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)), from_ptri(ulong_t, R_ESP+8), from_ptri(int, R_ESP+12), from_ptri(int, R_ESP+16), from_ptri(int, R_ESP+20), from_ptri(int, R_ESP+24)); } else if(strstr(s, "pthread_mutex_lock")==s || strstr(s, "pthread_mutex_unlock")==s) { snprintf(buff, 255, "%04d|%p: Calling %s(%p)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), (char *)s, from_ptrv(*(ptr_t*)from_ptr(R_ESP+4))); } else if(strstr(s, "pthread_setname_np")==s) { |