extern long GPUdmaChain(uint32_t *,uint32_t);
extern void GPUupdateLace(void);
extern long GPUfreeze(uint32_t, void *);
-extern void GPUvBlank(int);
+extern void GPUvBlank(int, uint32_t *);
#define DUMMY(id, name) \
typedef long (CALLBACK* GPUgetScreenPic)(unsigned char *);\r
typedef long (CALLBACK* GPUshowScreenPic)(unsigned char *);\r
typedef void (CALLBACK* GPUclearDynarec)(void (CALLBACK *callback)(void));\r
-typedef void (CALLBACK* GPUvBlank)(int);\r
+typedef void (CALLBACK* GPUvBlank)(int, uint32_t *);\r
\r
// GPU function pointers\r
extern GPUupdateLace GPU_updateLace;\r
// 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();