From fb50c7570cb500c268e0ca622223da483bfe4479 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sat, 13 Jun 2015 16:55:12 +0200 Subject: [PATCH] sh4_opcodes: Fix printf arguments This partly resolves #660 (needs to applied to linux-64 branch, too). --- core/hw/sh4/interpr/sh4_opcodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hw/sh4/interpr/sh4_opcodes.cpp b/core/hw/sh4/interpr/sh4_opcodes.cpp index c8efb8e09..41cc92ad3 100644 --- a/core/hw/sh4/interpr/sh4_opcodes.cpp +++ b/core/hw/sh4/interpr/sh4_opcodes.cpp @@ -70,7 +70,7 @@ void cpu_iNimp(u32 op, const char* info) void cpu_iWarn(u32 op, const char* info) { printf("Check opcode : %X : ", op); - printf(info); + printf("%s", info); printf(" @ %X\n", curr_pc); }