aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-16 11:54:37 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-16 11:54:37 +0000
commitb11ebf64b696952e83f3dfbee8c42a5b6cb4a389 (patch)
tree1e0673e4291cd8df858f4bb4ceecb257b0ff71d8 /hw
parent90e189ece147115c66c9864fd832524543a50530 (diff)
Replace REGX with PRIx64
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc_oldworld.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index 549ba0cde7..6a283059cf 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -48,7 +48,9 @@ static int vga_osi_call (CPUState *env)
static int vga_vbl_enabled;
int linesize;
- // printf("osi_call R5=" REGX "\n", ppc_dump_gpr(env, 5));
+#if 0
+ printf("osi_call R5=%016" PRIx64 "\n", ppc_dump_gpr(env, 5));
+#endif
/* same handler as PearPC, coming from the original MOL video
driver. */
@@ -100,7 +102,7 @@ static int vga_osi_call (CPUState *env)
/* R6 = x, R7 = y, R8 = visible, R9 = data */
break;
default:
- fprintf(stderr, "unsupported OSI call R5=" REGX "\n",
+ fprintf(stderr, "unsupported OSI call R5=%016" PRIx64 "\n",
ppc_dump_gpr(env, 5));
break;
}