aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornotaz2011-10-09 20:50:16 +0300
committernotaz2011-10-10 00:25:59 +0300
commit554a2220f2413cc29d7912ad3f7d91c9e64284cf (patch)
tree04890e4e0698c862c81e349ef923f338c63a421e /plugins
parent911f2d55ac72cab3417983708cbb6a5fde2f13db (diff)
downloadpcsx_rearmed-554a2220f2413cc29d7912ad3f7d91c9e64284cf.tar.gz
pcsx_rearmed-554a2220f2413cc29d7912ad3f7d91c9e64284cf.tar.bz2
pcsx_rearmed-554a2220f2413cc29d7912ad3f7d91c9e64284cf.zip
psxcounters: change spu update ~2ms
old value ~1.4 was weird anyway
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/spu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index d7dc1b6..df95f35 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;
}