summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcounters.c
diff options
context:
space:
mode:
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();