From f6977b75b9a3cebff0ac73a9e751941dea4d7e42 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Sun, 12 Dec 2010 14:20:50 +0000 Subject: 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 --- plugins/dfsound/spu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') 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++; -- cgit v1.2.3