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:
ramapcsx2 2011-06-11 00:49:26 +00:00
parent 555e9ee039
commit 2e81d03624
2 changed files with 4 additions and 0 deletions

View File

@ -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);
} }

View File

@ -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()