mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 15:35:29 +00:00
unit: fix printf format specifie for uint64_t
This commit is contained in:
parent
4a67727f81
commit
1113d19122
|
@ -103,7 +103,7 @@ static bool mem_hook_amd64(uc_engine *uc, uc_mem_type type,
|
||||||
if ((rax == 0x4141414141414141) && // Proof we're at 0x10005
|
if ((rax == 0x4141414141414141) && // Proof we're at 0x10005
|
||||||
(rip != (CodePage + 0x5))) // Proof uc_reg_read is wrong
|
(rip != (CodePage + 0x5))) // Proof uc_reg_read is wrong
|
||||||
{
|
{
|
||||||
printf("De-synced RIP value. 0x%016lX != 0x%016lX\n", rip, CodePage + 0x05);
|
printf("De-synced RIP value. 0x%"PRIX64" != 0x%"PRIX64"\n", rip, CodePage + 0x05);
|
||||||
// Failure raised by the uc_emu_start() call.
|
// Failure raised by the uc_emu_start() call.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue