summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-09 02:48:50 +0000
committerSND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-09 02:48:50 +0000
commit085698017fc9b37b82183bdb9db3226d0ef6b510 (patch)
tree014f6f800bdf70ee5af718f16045f8974da6d479 /plugins
parent7a8afe38dd2b25fa6045a60c87b588af5def659e (diff)
downloadpcsxr-085698017fc9b37b82183bdb9db3226d0ef6b510.tar.gz
spu: don't play in decode buffers
no idea if this is right, but right now Tomb Raider 2, Wip3out plays adpcm there, and nobody wants that. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82140 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/dfsound/spu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index 5f5ecf11..6d2564e4 100755
--- a/plugins/dfsound/spu.c
+++ b/plugins/dfsound/spu.c
@@ -669,7 +669,10 @@ static void *MAINThread(void *arg)
start=s_chan[ch].pCurr; // set up the current pos
- if (s_chan[ch].iSilent==1 || start == (unsigned char*)-1) // special "stop" sign
+ if (start == spuMemC)
+ s_chan[ch].bOn = 0;
+
+ if (s_chan[ch].iSilent==1 )
{
// silence = let channel keep running (IRQs)
//s_chan[ch].bOn=0; // -> turn everything off