X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.c;h=8b8fea8bf12ec1b91cf682eeeb212743b2ac6d18;hp=5056c70980ca7008d2b19e725156822a1d8c5229;hb=72e5023fade738954035199aacf4076c69c52477;hpb=b78edec75aea5e9015e11dd71f7736d7e92b347b diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 5056c709..8b8fea8b 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -291,7 +291,7 @@ void psxRcntUpdate() if( hSyncCount == VBlankStart ) { HW_GPU_STATUS &= ~PSXGPU_LCF; - + GPU_vBlank( 1, 0 ); setIrq( 0x01 ); EmuUpdate(); @@ -307,6 +307,7 @@ void psxRcntUpdate() gpuSyncPluginSR(); if( (HW_GPU_STATUS & PSXGPU_ILACE_BITS) == PSXGPU_ILACE_BITS ) HW_GPU_STATUS |= frame_counter << 31; + GPU_vBlank( 0, HW_GPU_STATUS >> 31 ); } // Schedule next call, in hsyncs