DSPLLE: Don't log when DIRQ is set to 0

No interrupt is generated in this case. The homebrew liband uCode writes zero fairly frequently, so logging it results in spam.
This commit is contained in:
Pokechu22 2022-06-19 10:46:41 -07:00
parent 8274886cc2
commit c317f7fd22

View file

@ -96,9 +96,15 @@ void SDSP::WriteIFX(u32 address, u16 value)
{
case DSP_DIRQ:
if ((value & 1) != 0)
{
Host::InterruptRequest();
else
}
else if (value != 0)
{
// The homebrew libasnd uCode frequently writes 0 to DIRQ with a comment
// saying "clear the interrupt" - we don't need to log in this case.
WARN_LOG_FMT(DSPLLE, "Unknown Interrupt Request pc={:#06x} ({:#06x})", pc, value);
}
break;
case DSP_DMBH: