X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.h;h=03cd46843c18293c4da03d7e9543c98f03b0b739;hb=899d08bdfa1d222a9c0e73ee2604b96ff4287687;hp=68989019c82c04ef5d072dfc20555c6ec41f0f53;hpb=b1be1eeee94d3547c20719acfa6b0082404897f1;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index 68989019..03cd4684 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -31,6 +31,8 @@ extern "C" { extern u32 psxNextCounter, psxNextsCounter; +extern u32 hSyncCount, frame_counter; + typedef struct Rcnt { u16 mode, target; @@ -46,11 +48,13 @@ void psxRcntWcount(u32 index, u32 value); void psxRcntWmode(u32 index, u32 value); void psxRcntWtarget(u32 index, u32 value); -u32 psxRcntRcount(u32 index); +u32 psxRcntRcount0(); +u32 psxRcntRcount1(); +u32 psxRcntRcount2(); u32 psxRcntRmode(u32 index); u32 psxRcntRtarget(u32 index); -s32 psxRcntFreeze(gzFile f, s32 Mode); +s32 psxRcntFreeze(void *f, s32 Mode); #ifdef __cplusplus }