X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=libpcsxcore%2Fpsxcounters.c;h=1c514e8f174f13cc75b4c9a5b22e9272ff4635a3;hb=6c9a982ac534aef9b19b9e7d9033516a0f13485a;hp=c9f293156dbee4bbb2b7fd078a8d9bf0f7118e6e;hpb=c62b43c9f32d79116225247acf09ccd30d4d658b;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index c9f29315..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,11 +297,11 @@ void psxRcntUpdate() { hSyncCount = 0; - GPU_vBlank( 0 ); + GPU_vBlank( 0, &hSyncCount ); setIrq( 0x01 ); - GPU_updateLace(); EmuUpdate(); + GPU_updateLace(); } }