From 3106c797d9de7a5b3ff80951ac8f682e9c823141 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 19 Apr 2021 15:17:43 +1000 Subject: [PATCH] CPU: Reduce severity of some log statements --- src/core/bus.cpp | 4 ++-- src/core/cpu_core.cpp | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/core/bus.cpp b/src/core/bus.cpp index f4213a06c..88dd3396a 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -917,11 +917,11 @@ static TickCount DoEXP2Access(u32 offset, u32& value) } else if (offset == 0x41 || offset == 0x42) { - Log_WarningPrintf("BIOS POST status: %02X", value & UINT32_C(0x0F)); + Log_DevPrintf("BIOS POST status: %02X", value & UINT32_C(0x0F)); } else if (offset == 0x70) { - Log_WarningPrintf("BIOS POST2 status: %02X", value & UINT32_C(0x0F)); + Log_DevPrintf("BIOS POST2 status: %02X", value & UINT32_C(0x0F)); } else { diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index 9bf0f2fd1..b10698cdc 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -421,7 +421,6 @@ ALWAYS_INLINE_RELEASE static u32 ReadCop0Reg(Cop0Reg reg) return g_state.cop0_regs.PRID; default: - Log_WarningPrintf("Unknown COP0 reg read %u", ZeroExtend32(static_cast(reg))); return 0; } } @@ -433,28 +432,28 @@ ALWAYS_INLINE_RELEASE static void WriteCop0Reg(Cop0Reg reg, u32 value) case Cop0Reg::BPC: { g_state.cop0_regs.BPC = value; - Log_WarningPrintf("COP0 BPC <- %08X", value); + Log_DevPrintf("COP0 BPC <- %08X", value); } break; case Cop0Reg::BPCM: { g_state.cop0_regs.BPCM = value; - Log_WarningPrintf("COP0 BPCM <- %08X", value); + Log_DevPrintf("COP0 BPCM <- %08X", value); } break; case Cop0Reg::BDA: { g_state.cop0_regs.BDA = value; - Log_WarningPrintf("COP0 BDA <- %08X", value); + Log_DevPrintf("COP0 BDA <- %08X", value); } break; case Cop0Reg::BDAM: { g_state.cop0_regs.BDAM = value; - Log_WarningPrintf("COP0 BDAM <- %08X", value); + Log_DevPrintf("COP0 BDAM <- %08X", value); } break; @@ -468,7 +467,7 @@ ALWAYS_INLINE_RELEASE static void WriteCop0Reg(Cop0Reg reg, u32 value) { g_state.cop0_regs.dcic.bits = (g_state.cop0_regs.dcic.bits & ~Cop0Registers::DCIC::WRITE_MASK) | (value & Cop0Registers::DCIC::WRITE_MASK); - Log_WarningPrintf("COP0 DCIC <- %08X (now %08X)", value, g_state.cop0_regs.dcic.bits); + Log_DevPrintf("COP0 DCIC <- %08X (now %08X)", value, g_state.cop0_regs.dcic.bits); UpdateDebugDispatcherFlag(); } break; @@ -492,7 +491,7 @@ ALWAYS_INLINE_RELEASE static void WriteCop0Reg(Cop0Reg reg, u32 value) break; default: - Log_WarningPrintf("Unknown COP0 reg write %u (%08X)", ZeroExtend32(static_cast(reg)), value); + Log_DevPrintf("Unknown COP0 reg write %u (%08X)", ZeroExtend32(static_cast(reg)), value); break; } }