SPU: Drop OOB register warnings to dev level

This commit is contained in:
Connor McLaughlin 2021-11-07 15:27:02 +10:00
parent 83a031e22f
commit c346dfe8a4
2 changed files with 3 additions and 7 deletions

View file

@ -300,7 +300,7 @@ u16 SPU::ReadRegister(u32 offset)
return m_voices[voice_index].right_volume.current_level; 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); return UINT16_C(0xFFFF);
} }
} }
@ -584,8 +584,8 @@ void SPU::WriteRegister(u32 offset, u16 value)
return; return;
} }
Log_ErrorPrintf("Unknown SPU register write: offset 0x%X (address 0x%08X) value 0x%04X", offset, Log_DevPrintf("Unknown SPU register write: offset 0x%X (address 0x%08X) value 0x%04X", offset, offset | SPU_BASE,
offset | SPU_BASE, ZeroExtend32(value)); ZeroExtend32(value));
return; return;
} }
} }

View file

@ -1804,10 +1804,6 @@ bool SetExpansionROM(const char* filename)
void StallCPU(TickCount ticks) void StallCPU(TickCount ticks)
{ {
CPU::AddPendingTicks(ticks); CPU::AddPendingTicks(ticks);
#if 0
if (CPU::GetPendingTicks() >= CPU::GetDowncount() && !m_running_events)
RunEvents();
#endif
} }
Controller* GetController(u32 slot) Controller* GetController(u32 slot)