diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-12 14:20:50 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-12 14:20:50 +0000 |
| commit | f6977b75b9a3cebff0ac73a9e751941dea4d7e42 (patch) | |
| tree | 5958d5b786b188c6551e4bf9912a880669324fe1 /plugins | |
| parent | a9a06b147a519e7ae240c3f0a049510d7f1c3bb4 (diff) | |
| download | pcsxr-f6977b75b9a3cebff0ac73a9e751941dea4d7e42.tar.gz | |
dfsound.c
- fix async cycle counting
- now async should work again on Linux, Mac, (*)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61112 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dfsound/spu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 95cc8211..d6d5eecd 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -849,6 +849,8 @@ DWORD WINAPI MAINThreadEx(LPVOID lpParameter) long cpu_cycles;
void CALLBACK SPUasync(unsigned long cycle) { + cpu_cycles += cycle;
+
if(iSpuAsyncWait) { iSpuAsyncWait++; |
