diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-10-10 08:35:58 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-10-10 08:35:58 +0200 |
| commit | d1c5cd7b0a6f7dc52f06627fd161416f0ece0c3c (patch) | |
| tree | 9fab7bf2b3cb8f338b1871a9c5e3485c0a412130 /src | |
| parent | 656a36061ae4c5a007a28a5dc24b366879814806 (diff) | |
| download | box64-d1c5cd7b0a6f7dc52f06627fd161416f0ece0c3c.tar.gz box64-d1c5cd7b0a6f7dc52f06627fd161416f0ece0c3c.zip | |
[BOX32][TRACE] Small improvment to SDL_RWFromFile trace
Diffstat (limited to 'src')
| -rwxr-xr-x | src/emu/x86int3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c index 66c362f4..4f63f7b3 100755 --- a/src/emu/x86int3.c +++ b/src/emu/x86int3.c @@ -105,7 +105,7 @@ void x86Int3(x64emu_t* emu, uintptr_t* addr) pu8 = from_ptrv(*(ptr_t*)from_ptr(R_ESP+4)); post = 10; } else if(strstr(s, "SDL_RWFromFile")==s || strstr(s, "SDL_RWFromFile")==s) { - snprintf(buff, 255, "%04d|%p: Calling %s(%s, %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))); + snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\", \"%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, "SDL_WarpMouse")==s) { snprintf(buff, 255, "%04d|%p: Calling %s(%hd, %hd)", tid, from_ptrv(*(ptr_t*)from_ptr(R_ESP)), (char *)s, *(uint16_t*)from_ptr(R_ESP+4), *(uint16_t*)from_ptr(R_ESP+8)); } else if(strstr(s, "glColor4f")==s) { |