notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c03626
)
let's try alternative vsync timing
author
notaz
<notasas@gmail.com>
Sun, 4 Dec 2011 22:27:00 +0000
(
00:27
+0200)
committer
notaz
<notasas@gmail.com>
Sun, 4 Dec 2011 23:08:36 +0000
(
01:08
+0200)
libpcsxcore/psxcounters.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/psxcounters.c
b/libpcsxcore/psxcounters.c
index
6f82abd
..
7317c87
100644
(file)
--- a/
libpcsxcore/psxcounters.c
+++ b/
libpcsxcore/psxcounters.c
@@
-294,11
+294,13
@@
void psxRcntUpdate()
// VSync irq.
if( hSyncCount == VBlankStart[Config.PsxType] )
{
// 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;
HW_GPU_STATUS |= PSXGPU_LCF;
- // For the best times. :D
- //setIrq( 0x01 );
+ setIrq( 0x01 );
+
+ EmuUpdate();
+ GPU_updateLace();
}
// Update lace. (with InuYasha fix)
}
// Update lace. (with InuYasha fix)
@@
-307,11
+309,6
@@
void psxRcntUpdate()
hSyncCount = 0;
frame_counter++;
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;
HW_GPU_STATUS &= ~PSXGPU_LCF;
if( HW_GPU_STATUS & PSXGPU_ILACE )
HW_GPU_STATUS |= frame_counter << 31;