SPU2-X: Change the dead voice read logic to match the live one. (Probably doesn't affect anything.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4741 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2011-06-14 15:54:04 +00:00
parent 106bfc73e5
commit c4196d542d

View File

@ -225,10 +225,7 @@ static __forceinline void GetNextDataDummy(V_Core& thiscore, uint voiceidx)
if(vc.LoopFlags & XAFLAG_LOOP_END)
{
thiscore.Regs.ENDX |= (1 << voiceidx);
if( vc.LoopFlags & XAFLAG_LOOP )
vc.NextA = vc.LoopStartA;
// no else, already stopped
vc.NextA = vc.LoopStartA;
}
vc.LoopFlags = *GetMemPtr(vc.NextA&0xFFFFF) >> 8; // grab loop flags from the upper byte.