Merge pull request #10767 from Pokechu22/dsp-lle-dirq-zero-log

DSPLLE: Don't log when DIRQ is set to 0
This commit is contained in:
Admiral H. Curtiss 2022-06-21 01:31:03 +02:00 committed by GitHub
commit d524a92963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

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: