X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=df95f35db8578e70ae16912c6f3b292c8029bc9a;hp=d7dc1b6441fb60587fcd55a0df11701ce36b1ed6;hb=554a2220f2413cc29d7912ad3f7d91c9e64284cf;hpb=911f2d55ac72cab3417983708cbb6a5fde2f13db diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index d7dc1b64..df95f35d 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -904,12 +904,14 @@ static void *MAINThread(void *arg) // SPU ASYNC... even newer epsxe func // 1 time every 'cycle' cycles... harhar +// rearmed: called every 2ms now + void CALLBACK SPUasync(unsigned long cycle) { if(iSpuAsyncWait) { iSpuAsyncWait++; - if(iSpuAsyncWait<=16/FRAG_MSECS) return; + if(iSpuAsyncWait<=16/2) return; iSpuAsyncWait=0; }