summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-11 23:27:48 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-11 23:27:48 +0000
commita9a06b147a519e7ae240c3f0a049510d7f1c3bb4 (patch)
tree2855c990850dcfed98a23f58cf945c3bc2724862 /plugins
parent724023ee5ca65da8cb0e3bf1f89498a8219789f7 (diff)
downloadpcsxr-a9a06b147a519e7ae240c3f0a049510d7f1c3bb4.tar.gz
dfsound - spu.c
- try fixing "High Compat Mode" git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61085 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/registers.c1
-rw-r--r--plugins/dfsound/spu.c6
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/dfsound/registers.c b/plugins/dfsound/registers.c
index 94b7d3e8..d8e1e66f 100644
--- a/plugins/dfsound/registers.c
+++ b/plugins/dfsound/registers.c
@@ -432,7 +432,6 @@ void SoundOn(int start,int end,unsigned short val) // SOUND ON PSX COMAND
// ..?
s_chan[ch].iSilent=0;
//s_chan[ch].bStop=0;
- //s_chan[ch].pLoop=0;
// Final Fantasy 7 - don't do any of these
//s_chan[ch].pLoop = spuMemC;
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index b25d0fe8..95cc8211 100644
--- a/plugins/dfsound/spu.c
+++ b/plugins/dfsound/spu.c
@@ -468,7 +468,6 @@ static void *MAINThread(void *arg)
int ch,predict_nr,shift_factor,flags,d,s;
int bIRQReturn=0;
- bEndThread = 0;
while(!bEndThread) // until we are shutting down
{
// ok, at the beginning we are looking if there is
@@ -818,7 +817,7 @@ ENDX: ;
if( iUseTimer == 2 )
- bEndThread = 1;
+ break;
}
// end of big main loop...
@@ -977,8 +976,7 @@ void RemoveTimer(void)
}
if(iUseTimer==1) timeEndPeriod(1); // windows timer? stop it
-#else
-
+#else
if(!iUseTimer) // linux tread?
{
int i=0;