X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.h;h=77025a617bf7613a1f89fc6ca4c231aa59392350;hb=e5cb0939ab32d3c3b90b39e2d49a1652a7cf0db1;hp=d986435b44d05f833f3b7ddf87a1385d613252b4;hpb=b6b38f881b9690c31915d019df329d02cda8344a;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index d986435b..77025a61 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -39,7 +39,6 @@ typedef struct Rcnt u32 rate, irq, counterState, irqState; u32 cycle, cycleStart; } Rcnt; - extern Rcnt rcnts[]; void psxRcntInit(); @@ -49,12 +48,16 @@ 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(void *f, s32 Mode); +double psxGetFps(); + #ifdef __cplusplus } #endif