diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-06-21 01:31:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-21 01:31:03 +0200 |
| commit | d524a92963bf4f839b53bd650f002fe3e1f8e1da (patch) | |
| tree | ca4bd19e627dc33cb6f92475579260b7a90f7d12 /Source/Core | |
| parent | 4e095582b3ce1bc18667bd3200babd1d1bbbc122 (diff) | |
| parent | c317f7fd2292c9a3e887c9c31b8ef0d1a8938692 (diff) | |
Merge pull request #10767 from Pokechu22/dsp-lle-dirq-zero-log
DSPLLE: Don't log when DIRQ is set to 0
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/DSP/DSPHWInterface.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/Core/DSP/DSPHWInterface.cpp b/Source/Core/Core/DSP/DSPHWInterface.cpp index 7cdd4d0a98..1f22ed7661 100644 --- a/Source/Core/Core/DSP/DSPHWInterface.cpp +++ b/Source/Core/Core/DSP/DSPHWInterface.cpp @@ -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: |
