diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-10-24 13:39:11 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-10-24 13:39:11 +0200 |
| commit | 1fc382f74f62ff88ed33b822988438180d195402 (patch) | |
| tree | 8550b99b1d4f1c53787fc43a3dec5d37713b8413 /src | |
| parent | 65fc95b61421534de54c92907020540dee261b00 (diff) | |
| download | box64-1fc382f74f62ff88ed33b822988438180d195402.tar.gz box64-1fc382f74f62ff88ed33b822988438180d195402.zip | |
[COSIM] Show if it's x86 or x64 code on difference warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64test.c b/src/emu/x64test.c index 8e0327a7..94bdd559 100644 --- a/src/emu/x64test.c +++ b/src/emu/x64test.c @@ -24,9 +24,9 @@ void print_banner(x64emu_t* ref) { - printf_log(LOG_NONE, "Warning, difference between Interpreter and Dynarec in %p (%02x %02x %02x %02x %02x %02x %02x %02x)\n"\ + printf_log(LOG_NONE, "Warning, difference between %s Interpreter and Dynarec in %p (%02x %02x %02x %02x %02x %02x %02x %02x)\n"\ "=======================================\n", - (void*)ref->old_ip, + (ref->segs[_CS]==0x23)?"x86":"x64" ,(void*)ref->old_ip, ((uint8_t*)ref->old_ip)[0], ((uint8_t*)ref->old_ip)[1], ((uint8_t*)ref->old_ip)[2], ((uint8_t*)ref->old_ip)[3], ((uint8_t*)ref->old_ip)[4], ((uint8_t*)ref->old_ip)[5], ((uint8_t*)ref->old_ip)[6], ((uint8_t*)ref->old_ip)[7] ); |