mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
d84a3de6fa
commit
73b97e74d4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue