mirror of https://github.com/PCSX2/pcsx2.git
SPU: Start the sample pointer at -1
This makes videos in Stolen work again.
This commit is contained in:
parent
ed3237f808
commit
0dc3dcd9ed
|
@ -373,7 +373,12 @@ __forceinline bool StartQueuedVoice(uint coreidx, uint voiceidx)
|
||||||
vc.ADSR.Phase = 1;
|
vc.ADSR.Phase = 1;
|
||||||
vc.SCurrent = 28;
|
vc.SCurrent = 28;
|
||||||
vc.LoopMode = 0;
|
vc.LoopMode = 0;
|
||||||
vc.SP = 0;
|
|
||||||
|
// When SP >= 0 the next sample will be grabbed, we don't want this to happen
|
||||||
|
// instantly because in the case of pitch being 0 we want to delay getting
|
||||||
|
// the next block header.
|
||||||
|
vc.SP = -1;
|
||||||
|
|
||||||
vc.LoopFlags = 0;
|
vc.LoopFlags = 0;
|
||||||
vc.NextA = vc.StartA | 1;
|
vc.NextA = vc.StartA | 1;
|
||||||
vc.Prev1 = 0;
|
vc.Prev1 = 0;
|
||||||
|
|
Loading…
Reference in New Issue