SPU2-X: Fix for bleepy sounds in FFX / FFXII. Apparently effects processing is much more sensitive to tight SPU2/IOP sync than any other part of the SPU2. (good to know!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@574 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-02-23 09:15:59 +00:00
parent 4cc6662246
commit 141dd7e21c
1 changed files with 5 additions and 1 deletions

View File

@ -425,7 +425,11 @@ EXPORT_C_(void) SPU2write(u32 rmem, u16 value)
}
else
{
//TimeUpdate( *cPtr );
// Note: Reverb/Effects are very sensitive to having precise update timings.
// If the SPU2 isn't in in sync with the IOP, samples can end up playing at rather
// incorrect pitches and loop lengths.
TimeUpdate( *cPtr );
if (rmem>>16 == 0x1f80)
SPU_ps1_write(rmem,value);
else