extern long GPUdmaChain(uint32_t *,uint32_t);
extern void GPUupdateLace(void);
extern long GPUfreeze(uint32_t, void *);
-extern void GPUvBlank(int, uint32_t *, uint32_t *);
+extern void GPUvBlank(int, int);
extern void GPUrearmedCallbacks(const struct rearmed_cbs *cbs);
DIRECT_GPU(GPUwriteDataMem),
DIRECT_GPU(GPUdmaChain),
DIRECT_GPU(GPUfreeze),
-// DIRECT_GPU(GPUvBlank), // unused
+ DIRECT_GPU(GPUvBlank),
DIRECT_GPU(GPUrearmedCallbacks),
DUMMY_GPU(GPUdisplayText),
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, int);\r
\r
// GPU function pointers\r
extern GPUupdateLace GPU_updateLace;\r
extern GPUgetScreenPic GPU_getScreenPic;\r
extern GPUshowScreenPic GPU_showScreenPic;\r
extern GPUclearDynarec GPU_clearDynarec;\r
-extern GPUvBlank GPU_vBlank; // unused\r
+extern GPUvBlank GPU_vBlank;\r
\r
// CD-ROM Functions\r
typedef long (CALLBACK* CDRinit)(void);\r
if( hSyncCount == VBlankStart )
{
HW_GPU_STATUS &= ~PSXGPU_LCF;
-
+ GPU_vBlank( 1, 0 );
setIrq( 0x01 );
EmuUpdate();
gpuSyncPluginSR();
if( (HW_GPU_STATUS & PSXGPU_ILACE_BITS) == PSXGPU_ILACE_BITS )
HW_GPU_STATUS |= frame_counter << 31;
+ GPU_vBlank( 0, HW_GPU_STATUS >> 31 );
}
// Schedule next call, in hsyncs
return 1;
}
+void GPUvBlank(int is_vblank, int lcf)
+{
+}
+
// vim:shiftwidth=2:expandtab
void GPUupdateLace(void);
long GPUopen(void **dpy);
long GPUclose(void);
+void GPUvBlank(int is_vblank, int lcf);
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_);
#ifdef __cplusplus