notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_unai: redo frameskip
[pcsx_rearmed.git]
/
libpcsxcore
/
psxcounters.c
diff --git
a/libpcsxcore/psxcounters.c
b/libpcsxcore/psxcounters.c
index
044d0d3
..
184a4c9
100644
(file)
--- a/
libpcsxcore/psxcounters.c
+++ b/
libpcsxcore/psxcounters.c
@@
-66,7
+66,7
@@
static const u32 CountToTarget = 1;
static const u32 FrameRate[] = { 60, 50 };
static const u32 VBlankStart[] = { 240, 256 };
static const u32 FrameRate[] = { 60, 50 };
static const u32 VBlankStart[] = { 240, 256 };
-static const u32 HSyncTotal[] = { 26
2, 312
};
+static const u32 HSyncTotal[] = { 26
3, 313
};
static const u32 SpuUpdInterval[] = { 23, 22 };
static const s32 VerboseLevel = 0;
static const u32 SpuUpdInterval[] = { 23, 22 };
static const s32 VerboseLevel = 0;
@@
-100,7
+100,7
@@
void verboseLog( s32 level, const char *str, ... )
vsprintf( buf, str, va );
va_end( va );
vsprintf( buf, str, va );
va_end( va );
- printf( buf );
+ printf(
"%s",
buf );
fflush( stdout );
}
}
fflush( stdout );
}
}
@@
-286,7
+286,7
@@
void psxRcntUpdate()
// VSync irq.
if( hSyncCount == VBlankStart[Config.PsxType] )
{
// VSync irq.
if( hSyncCount == VBlankStart[Config.PsxType] )
{
- GPU_vBlank( 1 );
+ GPU_vBlank( 1
, &hSyncCount
);
// For the best times. :D
//setIrq( 0x01 );
// For the best times. :D
//setIrq( 0x01 );
@@
-297,7
+297,7
@@
void psxRcntUpdate()
{
hSyncCount = 0;
{
hSyncCount = 0;
- GPU_vBlank( 0 );
+ GPU_vBlank( 0
, &hSyncCount
);
setIrq( 0x01 );
EmuUpdate();
setIrq( 0x01 );
EmuUpdate();