mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 04:16:29 +01:00
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
This commit is contained in:
parent
e94229cba0
commit
020ff8c62b
@ -165,7 +165,7 @@ void gdsp_ifx_write(u16 addr, u16 val)
|
|||||||
dsp_write_aram_d3(val);
|
dsp_write_aram_d3(val);
|
||||||
break;
|
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) {
|
if (val) {
|
||||||
INFO_LOG(DSPLLE,"Gain Written: 0x%04x", 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;
|
dsp_addr = g_dsp.ifx_regs[DSP_DSPA] * 2;
|
||||||
len = g_dsp.ifx_regs[DSP_DSBL];
|
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);
|
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);
|
exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user