mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
106bfc73e5
commit
c4196d542d
|
@ -225,10 +225,7 @@ static __forceinline void GetNextDataDummy(V_Core& thiscore, uint voiceidx)
|
||||||
if(vc.LoopFlags & XAFLAG_LOOP_END)
|
if(vc.LoopFlags & XAFLAG_LOOP_END)
|
||||||
{
|
{
|
||||||
thiscore.Regs.ENDX |= (1 << voiceidx);
|
thiscore.Regs.ENDX |= (1 << voiceidx);
|
||||||
|
|
||||||
if( vc.LoopFlags & XAFLAG_LOOP )
|
|
||||||
vc.NextA = vc.LoopStartA;
|
vc.NextA = vc.LoopStartA;
|
||||||
// no else, already stopped
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vc.LoopFlags = *GetMemPtr(vc.NextA&0xFFFFF) >> 8; // grab loop flags from the upper byte.
|
vc.LoopFlags = *GetMemPtr(vc.NextA&0xFFFFF) >> 8; // grab loop flags from the upper byte.
|
||||||
|
|
Loading…
Reference in New Issue