SPU2-X: This should be more correct.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3327 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-06-27 14:39:28 +00:00
parent af40a22ee8
commit 9a9c41f59e
2 changed files with 4 additions and 4 deletions

View File

@ -689,7 +689,7 @@ StereoOut32 V_Core::Mix( const VoiceMixSet& inVoices, const StereoOut32& Input,
//
// On the other hand, updating the buffer is cheap and easy, so might as well. ;)
Reverb_AdvanceBuffer();
Reverb_AdvanceBuffer(); // Updates the reverb work area as well, if needed.
if (!FxEnable) return TD;
StereoOut32 TW;

View File

@ -41,6 +41,9 @@ __forceinline s32 V_Core::RevbGetIndexer( s32 offset )
void V_Core::Reverb_AdvanceBuffer()
{
if( RevBuffers.NeedsUpdated )
UpdateEffectsBufferSize();
if( (Cycles & 1) && (EffectsBufferSize > 0) )
{
ReverbX += 1;
@ -73,9 +76,6 @@ StereoOut32 V_Core::DoReverb( const StereoOut32& Input )
}
else
{
if( RevBuffers.NeedsUpdated )
UpdateEffectsBufferSize();
if( EffectsBufferSize <= 0 )
{
ubpos = (ubpos+1) & 7;