X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.h;h=d986435b44d05f833f3b7ddf87a1385d613252b4;hb=b6b38f881b9690c31915d019df329d02cda8344a;hp=68989019c82c04ef5d072dfc20555c6ec41f0f53;hpb=b1be1eeee94d3547c20719acfa6b0082404897f1;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index 68989019..d986435b 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -31,12 +31,15 @@ extern "C" { extern u32 psxNextCounter, psxNextsCounter; +extern u32 hSyncCount, frame_counter; + typedef struct Rcnt { u16 mode, target; u32 rate, irq, counterState, irqState; u32 cycle, cycleStart; } Rcnt; + extern Rcnt rcnts[]; void psxRcntInit(); @@ -50,7 +53,7 @@ u32 psxRcntRcount(u32 index); u32 psxRcntRmode(u32 index); u32 psxRcntRtarget(u32 index); -s32 psxRcntFreeze(gzFile f, s32 Mode); +s32 psxRcntFreeze(void *f, s32 Mode); #ifdef __cplusplus }