From 4c3b15365ab05f4941c5ed3b3a0b3a969e50d3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Wed, 25 Jul 2007 21:44:21 +0000 Subject: [PATCH] fix some logging (see sf patch #1663965) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2931 --- src/cpu/core_normal/prefix_0f.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cpu/core_normal/prefix_0f.h b/src/cpu/core_normal/prefix_0f.h index 086771b7..0f229830 100644 --- a/src/cpu/core_normal/prefix_0f.h +++ b/src/cpu/core_normal/prefix_0f.h @@ -148,7 +148,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%d with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); } GetEArd; Bit32u crx_value; @@ -162,7 +162,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR% with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); } GetEArd; Bit32u drx_value; @@ -176,7 +176,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR% with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); } GetEArd; if (CPU_WRITE_CRX(which,*eard)) RUNEXCEPTION(); @@ -188,7 +188,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV DR%,XXX with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); } GetEArd; if (CPU_WRITE_DRX(which,*eard)) RUNEXCEPTION(); @@ -200,7 +200,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR% with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); } GetEArd; Bit32u trx_value; @@ -214,7 +214,7 @@ Bitu which=(rm >> 3) & 7; if (rm < 0xc0 ) { rm |= 0xc0; - LOG(LOG_CPU,LOG_ERROR)("MOV TR%,XXX with non-register",which); + LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); } GetEArd; if (CPU_WRITE_TRX(which,*eard)) RUNEXCEPTION();