From 174c454a98a71475b72958c9f76293af7d6fb502 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 21 Sep 2011 04:03:48 +0300 Subject: spu: get rid of pCurr -1, pass right chans to silent handler pCurr -1 would work weird with savestates and could screw things up in general.. --- plugins/dfsound/registers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/dfsound/registers.c') diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c index 83b9e43..f6c3058 100644 --- a/plugins/dfsound/registers.c +++ b/plugins/dfsound/registers.c @@ -169,6 +169,7 @@ void CALLBACK SPUwriteRegister(unsigned long reg, unsigned short val) s_chan[ch].pLoop=spuMemC+((unsigned long)((val<<3)&~0xf)); //s_chan[ch].bIgnoreLoop=1; //ReleaseMutex(s_chan[ch].hMutex); // -> oki, on with the thread + dwChannelDead&=~(1<