summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/spu.c2
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++;