mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
68b7121b92
commit
ac1e1cf7bd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue