X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.c;h=f6c1bc448cb2e0941821fd1b62dd49aab91c7a0a;hp=044d0d3817f885da1f4a42e751fd67f831c3d943;hb=c7a56f4f574167acc7e3751cf04aa9bf9ebba913;hpb=cefe86b749ed699cd8af96e4875bb4e90e967569 diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 044d0d38..f6c1bc44 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -100,7 +100,7 @@ void verboseLog( s32 level, const char *str, ... ) vsprintf( buf, str, va ); va_end( va ); - printf( buf ); + printf( "%s", buf ); fflush( stdout ); } } @@ -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();