From 959b9b89d5719e6b35788eef5234cd6a327120b9 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 7 Feb 2005 19:04:54 +0000 Subject: [PATCH] Change priority of logmessages Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2105 --- src/cpu/core_full.cpp | 2 +- src/cpu/core_simple.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cpu/core_full.cpp b/src/cpu/core_full.cpp index d1ee2820..4abe9520 100644 --- a/src/cpu/core_full.cpp +++ b/src/cpu/core_full.cpp @@ -86,7 +86,7 @@ nextopcode:; SaveIP(); continue; illegalopcode: - LOG_MSG("Illegal opcode"); + LOG(LOG_CPU,LOG_NORMAL)("Illegal opcode"); CPU_Exception(0x6,0); } FillFlags(); diff --git a/src/cpu/core_simple.cpp b/src/cpu/core_simple.cpp index 7ff744e6..a64ecb83 100644 --- a/src/cpu/core_simple.cpp +++ b/src/cpu/core_simple.cpp @@ -165,7 +165,7 @@ restart_opcode: // sprintf(writecode,"%X",mem_readb(core.cseip++)); writecode+=2; } - LOG(LOG_CPU,LOG_ERROR)("Illegal/Unhandled opcode %s",tempcode); + LOG(LOG_CPU,LOG_NORMAL)("Illegal/Unhandled opcode %s",tempcode); } #endif CPU_Exception(6,0); @@ -200,4 +200,3 @@ Bits CPU_Core_Simple_Trap_Run(void) { void CPU_Core_Simple_Init(void) { } -