SPU2-X: Typo fixed from prev commit; solves lots of audio errors.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2913 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-04-27 14:12:41 +00:00
parent 68b7121b92
commit ac1e1cf7bd

View File

@ -1445,7 +1445,7 @@ void StartVoices(int core, u32 value)
for( u8 vc=0; vc<V_Core::NumVoices; vc++ )
{
if( !(value>>vc) & 1 ) continue;
if( !((value>>vc) & 1) ) continue;
Cores[core].Voices[vc].Start();
@ -1470,7 +1470,7 @@ void StopVoices(int core, u32 value)
if( value == 0 ) return;
for( u8 vc=0; vc<V_Core::NumVoices; vc++ )
{
if( !(value>>vc) & 1 ) continue;
if( !((value>>vc) & 1) ) continue;
Cores[core].Voices[vc].ADSR.Releasing = true;
//if(MsgKeyOnOff()) ConLog(" * SPU2: KeyOff: Core %d; Voice %d.\n",core,vc);