summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;