mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X: Fix for Fatal Frame as per sudo's findings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4722 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
555e9ee039
commit
2e81d03624
|
@ -300,6 +300,7 @@ EXPORT_C_(void) SPU2reset()
|
||||||
{
|
{
|
||||||
memset(spu2regs, 0, 0x010000);
|
memset(spu2regs, 0, 0x010000);
|
||||||
memset(_spu2mem, 0, 0x200000);
|
memset(_spu2mem, 0, 0x200000);
|
||||||
|
memset(_spu2mem + 0x2800, 7, 0x10); // from BIOS reversal. Locks the voices so they don't run free.
|
||||||
Cores[0].Init(0);
|
Cores[0].Init(0);
|
||||||
Cores[1].Init(1);
|
Cores[1].Init(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -172,6 +172,9 @@ void V_Core::Init( int index )
|
||||||
|
|
||||||
Regs.STATX = 0x80;
|
Regs.STATX = 0x80;
|
||||||
Regs.ENDX = 0xffffff; // PS2 confirmed
|
Regs.ENDX = 0xffffff; // PS2 confirmed
|
||||||
|
|
||||||
|
RevBuffers.NeedsUpdated = 1;
|
||||||
|
UpdateEffectsBufferSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void V_Core::AnalyzeReverbPreset()
|
void V_Core::AnalyzeReverbPreset()
|
||||||
|
|
Loading…
Reference in New Issue