X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.c;h=7317c87ab8246ed098449edbeb2021cb6edfb23b;hp=6f82abd5ae3baf3ae7e73ae05a35f9656d394354;hb=8bbbd0911c079ff0cc3ed5446a001612d7bbc157;hpb=6c036261062e5ab1fe3826268966ef324de3787f diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 6f82abd5..7317c87a 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -294,11 +294,13 @@ void psxRcntUpdate() // VSync irq. if( hSyncCount == VBlankStart[Config.PsxType] ) { - //if( !(HW_GPU_STATUS & PSXGPU_ILACE) ) // hmh + if( !(HW_GPU_STATUS & PSXGPU_ILACE) ) HW_GPU_STATUS |= PSXGPU_LCF; - // For the best times. :D - //setIrq( 0x01 ); + setIrq( 0x01 ); + + EmuUpdate(); + GPU_updateLace(); } // Update lace. (with InuYasha fix) @@ -307,11 +309,6 @@ void psxRcntUpdate() hSyncCount = 0; frame_counter++; - setIrq( 0x01 ); - - EmuUpdate(); - GPU_updateLace(); - HW_GPU_STATUS &= ~PSXGPU_LCF; if( HW_GPU_STATUS & PSXGPU_ILACE ) HW_GPU_STATUS |= frame_counter << 31;