mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
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:
parent
8274886cc2
commit
c317f7fd22
@ -96,9 +96,15 @@ void SDSP::WriteIFX(u32 address, u16 value)
|
|||||||
{
|
{
|
||||||
case DSP_DIRQ:
|
case DSP_DIRQ:
|
||||||
if ((value & 1) != 0)
|
if ((value & 1) != 0)
|
||||||
|
{
|
||||||
Host::InterruptRequest();
|
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);
|
WARN_LOG_FMT(DSPLLE, "Unknown Interrupt Request pc={:#06x} ({:#06x})", pc, value);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DSP_DMBH:
|
case DSP_DMBH:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user