mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 14:28:21 +00:00
samples: fix print format specifies for uint64_t
This commit is contained in:
parent
40ea64af19
commit
14a7628098
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ static void test_i386(void)
|
||||||
uc_reg_read(uc, UC_X86_REG_XMM0, &r_xmm0);
|
uc_reg_read(uc, UC_X86_REG_XMM0, &r_xmm0);
|
||||||
printf(">>> ECX = 0x%x\n", r_ecx);
|
printf(">>> ECX = 0x%x\n", r_ecx);
|
||||||
printf(">>> EDX = 0x%x\n", r_edx);
|
printf(">>> EDX = 0x%x\n", r_edx);
|
||||||
printf(">>> XMM0 = 0x%.16lx%.16lx\n", r_xmm0[1], r_xmm0[0]);
|
printf(">>> XMM0 = 0x%.16"PRIx64"%.16"PRIx64"\n", r_xmm0[1], r_xmm0[0]);
|
||||||
|
|
||||||
// read from memory
|
// read from memory
|
||||||
if (!uc_mem_read(uc, ADDRESS, &tmp, sizeof(tmp)))
|
if (!uc_mem_read(uc, ADDRESS, &tmp, sizeof(tmp)))
|
||||||
|
|
Loading…
Reference in a new issue