From a3ed191507a8162f676f92b44dd61eb5e14d2194 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 16 Sep 2011 16:55:31 +0300 Subject: [PATCH] spu: don't wait for irq on silent channels no point to do so, breaks other chans if silent ones interrupt often (Discworld) --- plugins/dfsound/spu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 36ac018b..cb639b26 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -794,7 +794,8 @@ static void *MAINThread(void *arg) { unsigned char *start=s_chan[ch].pCurr; - bIRQReturn |= skip_block(ch); + // no need for bIRQReturn since the channel is silent + iSpuAsyncWait |= skip_block(ch); if(start == s_chan[ch].pCurr) { // looping on self -- 2.39.2