From c346dfe8a41b9d7da47106caf65c369dbb3ce8f3 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 7 Nov 2021 15:27:02 +1000 Subject: [PATCH] SPU: Drop OOB register warnings to dev level --- src/core/spu.cpp | 6 +++--- src/core/system.cpp | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/core/spu.cpp b/src/core/spu.cpp index a84e8622b..e1413fd0a 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -300,7 +300,7 @@ u16 SPU::ReadRegister(u32 offset) return m_voices[voice_index].right_volume.current_level; } - Log_ErrorPrintf("Unknown SPU register read: offset 0x%X (address 0x%08X)", offset, offset | SPU_BASE); + Log_DevPrintf("Unknown SPU register read: offset 0x%X (address 0x%08X)", offset, offset | SPU_BASE); return UINT16_C(0xFFFF); } } @@ -584,8 +584,8 @@ void SPU::WriteRegister(u32 offset, u16 value) return; } - Log_ErrorPrintf("Unknown SPU register write: offset 0x%X (address 0x%08X) value 0x%04X", offset, - offset | SPU_BASE, ZeroExtend32(value)); + Log_DevPrintf("Unknown SPU register write: offset 0x%X (address 0x%08X) value 0x%04X", offset, offset | SPU_BASE, + ZeroExtend32(value)); return; } } diff --git a/src/core/system.cpp b/src/core/system.cpp index 922b21a17..9b8d7f8bc 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1804,10 +1804,6 @@ bool SetExpansionROM(const char* filename) void StallCPU(TickCount ticks) { CPU::AddPendingTicks(ticks); -#if 0 - if (CPU::GetPendingTicks() >= CPU::GetDowncount() && !m_running_events) - RunEvents(); -#endif } Controller* GetController(u32 slot)