From 020ff8c62b42b9762c425261e9244003a80b2873 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sat, 20 Mar 2010 21:18:41 +0000 Subject: [PATCH] forgot to remove the check that would detect proper DSCR setting during DMA as an error git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5218 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPHWInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DSPCore/Src/DSPHWInterface.cpp b/Source/Core/DSPCore/Src/DSPHWInterface.cpp index 55cddf08fd..1761026403 100644 --- a/Source/Core/DSPCore/Src/DSPHWInterface.cpp +++ b/Source/Core/DSPCore/Src/DSPHWInterface.cpp @@ -165,7 +165,7 @@ void gdsp_ifx_write(u16 addr, u16 val) dsp_write_aram_d3(val); break; - case 0xde: // BMX XXX does, and sounds HORRIBLE. / Spyro - A Hero's Tail / Sega GC games / Wiiware - World of Goo + case DSP_GAIN: // BMX XXX does, and sounds HORRIBLE. / Spyro - A Hero's Tail / Sega GC games / Wiiware - World of Goo if (val) { INFO_LOG(DSPLLE,"Gain Written: 0x%04x", val); } @@ -302,7 +302,7 @@ void gdsp_do_dma() dsp_addr = g_dsp.ifx_regs[DSP_DSPA] * 2; len = g_dsp.ifx_regs[DSP_DSBL]; - if ((ctl > 3) || (len > 0x4000)) + if (len > 0x4000) { ERROR_LOG(DSPLLE, "DMA ERROR pc: %04x ctl: %04x addr: %08x da: %04x size: %04x", g_dsp.pc, ctl, addr, dsp_addr, len); exit(0);