summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcounters.c
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-04 05:32:58 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-04 05:32:58 +0000
commitdd4b2eaa7fc19e3988b6a6a6e41f0784126ef7b3 (patch)
treea3bbfd7bc9d153e456cbc78e387e2866ecc2b1e5 /libpcsxcore/psxcounters.c
parent8410fc0c2eed060e79d5801a37583b6c729b85f6 (diff)
downloadpcsxr-dd4b2eaa7fc19e3988b6a6a6e41f0784126ef7b3.tar.gz
GPUvBlank (for gpuBladeSoft now, experimental).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54133 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxcounters.c')
-rw-r--r--libpcsxcore/psxcounters.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c
index fed43c69..ebfe6296 100644
--- a/libpcsxcore/psxcounters.c
+++ b/libpcsxcore/psxcounters.c
@@ -282,19 +282,22 @@ void psxRcntUpdate()
SPU_async( SpuUpdInterval[Config.PsxType] * rcnts[3].target );
}
}
- /*
- // For the best times. :D
+
// VSync irq.
if( hSyncCount == VBlankStart[Config.PsxType] )
{
- setIrq( 0x01 );
+ GPU_vBlank( 1 );
+
+ // For the best times. :D
+ //setIrq( 0x01 );
}
- */
+
// Update lace. (with InuYasha fix)
if( hSyncCount >= (Config.VSyncWA ? HSyncTotal[Config.PsxType] / BIAS : HSyncTotal[Config.PsxType]) )
{
hSyncCount = 0;
+ GPU_vBlank( 0 );
setIrq( 0x01 );
GPU_updateLace();