From a9a06b147a519e7ae240c3f0a049510d7f1c3bb4 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Sat, 11 Dec 2010 23:27:48 +0000 Subject: dfsound - spu.c - try fixing "High Compat Mode" git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61085 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfsound/registers.c | 1 - plugins/dfsound/spu.c | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins') 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; -- cgit v1.2.3