SPU2-X: If a bit we don't understand goes high, clear a register we don't understand. Don't ask me, but it seems to make the BIOS happier and Devil May Cry works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4758 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2011-06-23 20:14:01 +00:00
parent d84a3de6fa
commit 73b97e74d4
1 changed files with 4 additions and 1 deletions

View File

@ -916,7 +916,10 @@ static void __fastcall RegWrite_Core( u16 value )
thiscore.NoiseClk =(value>> 8) & 0x3f; //6 bits thiscore.NoiseClk =(value>> 8) & 0x3f; //6 bits
//thiscore.Mute =(value>>14) & 0x01; //1 bit //thiscore.Mute =(value>>14) & 0x01; //1 bit
thiscore.Mute =0; thiscore.Mute =0;
thiscore.CoreEnabled=(value>>15) & 0x01; //1 bit //thiscore.CoreEnabled=(value>>15) & 0x01; //1 bit
// no clue
if (value>>15)
thiscore.Regs.STATX = 0;
thiscore.Regs.ATTR =value&0x7fff; thiscore.Regs.ATTR =value&0x7fff;
if(oldDmaMode != thiscore.DmaMode) if(oldDmaMode != thiscore.DmaMode)