aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/plugins.h2
-rw-r--r--libpcsxcore/psxcounters.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h
index 8084143..c724031 100644
--- a/libpcsxcore/plugins.h
+++ b/libpcsxcore/plugins.h
@@ -94,7 +94,7 @@ typedef long (CALLBACK* GPUfreeze)(uint32_t, GPUFreeze_t *);
typedef long (CALLBACK* GPUgetScreenPic)(unsigned char *);
typedef long (CALLBACK* GPUshowScreenPic)(unsigned char *);
typedef void (CALLBACK* GPUclearDynarec)(void (CALLBACK *callback)(void));
-typedef void (CALLBACK* GPUvBlank)(int);
+typedef void (CALLBACK* GPUvBlank)(int, uint32_t *);
// GPU function pointers
extern GPUupdateLace GPU_updateLace;
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c
index 044d0d3..1c514e8 100644
--- a/libpcsxcore/psxcounters.c
+++ b/libpcsxcore/psxcounters.c
@@ -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();