From: notaz Date: Thu, 1 Jan 2015 17:35:16 +0000 (+0200) Subject: spu: move more things to StartSound X-Git-Tag: r21~13 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ccd0fb2874dab39c9db8ab973d4db9b8d54fa0d;p=pcsx_rearmed.git spu: move more things to StartSound --- diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c index 210adb2d..8e4956e7 100644 --- a/plugins/dfsound/registers.c +++ b/plugins/dfsound/registers.c @@ -362,16 +362,9 @@ static void SoundOn(int start,int end,unsigned short val) { if((val&1) && regAreaGet(ch,6)) // mmm... start has to be set before key on !?! { - // do this here, not in StartSound - // - fixes fussy timing issues - s_chan[ch].bStop=0; s_chan[ch].pCurr=spu.spuMemC+((regAreaGet(ch,6)&~1)<<3); // must be block aligned s_chan[ch].pLoop=spu.spuMemC+((regAreaGet(ch,14)&~1)<<3); - s_chan[ch].prevflags=2; - spu.dwNewChannel|=(1<