mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
af40a22ee8
commit
9a9c41f59e
|
@ -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. ;)
|
// 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;
|
if (!FxEnable) return TD;
|
||||||
|
|
||||||
StereoOut32 TW;
|
StereoOut32 TW;
|
||||||
|
|
|
@ -41,6 +41,9 @@ __forceinline s32 V_Core::RevbGetIndexer( s32 offset )
|
||||||
|
|
||||||
void V_Core::Reverb_AdvanceBuffer()
|
void V_Core::Reverb_AdvanceBuffer()
|
||||||
{
|
{
|
||||||
|
if( RevBuffers.NeedsUpdated )
|
||||||
|
UpdateEffectsBufferSize();
|
||||||
|
|
||||||
if( (Cycles & 1) && (EffectsBufferSize > 0) )
|
if( (Cycles & 1) && (EffectsBufferSize > 0) )
|
||||||
{
|
{
|
||||||
ReverbX += 1;
|
ReverbX += 1;
|
||||||
|
@ -73,9 +76,6 @@ StereoOut32 V_Core::DoReverb( const StereoOut32& Input )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( RevBuffers.NeedsUpdated )
|
|
||||||
UpdateEffectsBufferSize();
|
|
||||||
|
|
||||||
if( EffectsBufferSize <= 0 )
|
if( EffectsBufferSize <= 0 )
|
||||||
{
|
{
|
||||||
ubpos = (ubpos+1) & 7;
|
ubpos = (ubpos+1) & 7;
|
||||||
|
|
Loading…
Reference in New Issue