diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-07-04 23:02:20 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-07-04 23:02:20 +0200 |
| commit | b4d43748e5d9edc842e3b573f26b2578a32cda54 (patch) | |
| tree | 6309b757e0abc182f35a79b6ec3464e54f38d1ec /src/emu | |
| parent | 549b384c3c203bc949d86ff73e0134f6973e1e0a (diff) | |
| download | box64-b4d43748e5d9edc842e3b573f26b2578a32cda54.tar.gz box64-b4d43748e5d9edc842e3b573f26b2578a32cda54.zip | |
[WRAPPER] Added a couple of libc/libm wrapped functions (for #2796)
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64printer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/x64printer.c b/src/emu/x64printer.c index 64468f01..09f2f31f 100644 --- a/src/emu/x64printer.c +++ b/src/emu/x64printer.c @@ -99,6 +99,8 @@ void x64Print(x64emu_t* emu, char* buff, size_t buffsz, const char* func, int ti snprintf(buff, buffsz, "%04d|%p: Calling %s(%" PRIf ")", tid, *(void**)(R_RSP), func, emu->xmm[0].f[0]); } else if (w == IFd) { snprintf(buff, buffsz, "%04d|%p: Calling %s(%" PRIf ")", tid, *(void**)(R_RSP), func, emu->xmm[0].d[0]); + } else if (w == IFD) { + snprintf(buff, buffsz, "%04d|%p: Calling %s(%" PRILf ")", tid, *(void**)(R_RSP), func, LD2localLD((void*)(R_RSP + 8))); } else if (w == IFp) { snprintf(buff, buffsz, "%04d|%p: Calling %s(%" PRIp ")", tid, *(void**)(R_RSP), func, (void*)R_RDI); } else if (w == CFv) { |