X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.h;h=0aab8f004f73e30872e93c95203f71e91bdd6b0a;hp=bccb2e4d2833ecab4fb6ee781e5274c38d8532ec;hb=42a261f1abb21841442aa3e366201565b3143480;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index bccb2e4d..0aab8f00 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -31,6 +31,16 @@ 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(); void psxRcntUpdate();