aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornotaz2011-09-16 16:55:31 +0300
committernotaz2011-09-19 19:01:47 +0300
commita3ed191507a8162f676f92b44dd61eb5e14d2194 (patch)
treeb26de8147a540c021e6513cb1d6e2d3763416cb7 /plugins
parentffdbda296db49dabfba11d2e87f18dcaa759353d (diff)
downloadpcsx_rearmed-a3ed191507a8162f676f92b44dd61eb5e14d2194.tar.gz
pcsx_rearmed-a3ed191507a8162f676f92b44dd61eb5e14d2194.tar.bz2
pcsx_rearmed-a3ed191507a8162f676f92b44dd61eb5e14d2194.zip
spu: don't wait for irq on silent channels
no point to do so, breaks other chans if silent ones interrupt often (Discworld)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/spu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index 36ac018..cb639b2 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