X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.c;h=1c514e8f174f13cc75b4c9a5b22e9272ff4635a3;hp=044d0d3817f885da1f4a42e751fd67f831c3d943;hb=6c9a982ac534aef9b19b9e7d9033516a0f13485a;hpb=0a1518684006294fca3cb72a6c56483650c4702f diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 044d0d38..1c514e8f 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -286,7 +286,7 @@ void psxRcntUpdate() // VSync irq. if( hSyncCount == VBlankStart[Config.PsxType] ) { - GPU_vBlank( 1 ); + GPU_vBlank( 1, &hSyncCount ); // For the best times. :D //setIrq( 0x01 ); @@ -297,7 +297,7 @@ void psxRcntUpdate() { hSyncCount = 0; - GPU_vBlank( 0 ); + GPU_vBlank( 0, &hSyncCount ); setIrq( 0x01 ); EmuUpdate();