static const u32 FrameRate[] = { 60, 50 };
static const u32 VBlankStart[] = { 240, 256 };
-static const u32 HSyncTotal[] = { 262, 312 };
+static const u32 HSyncTotal[] = { 263, 313 };
static const u32 SpuUpdInterval[] = { 23, 22 };
static const s32 VerboseLevel = 0;
vsprintf( buf, str, va );
va_end( va );
- printf( buf );
+ printf( "%s", buf );
fflush( stdout );
}
}
// VSync irq.
if( hSyncCount == VBlankStart[Config.PsxType] )
{
- GPU_vBlank( 1 );
+ GPU_vBlank( 1, &hSyncCount );
// For the best times. :D
//setIrq( 0x01 );
{
hSyncCount = 0;
- GPU_vBlank( 0 );
+ GPU_vBlank( 0, &hSyncCount );
setIrq( 0x01 );
EmuUpdate();