X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxcounters.h;h=68989019c82c04ef5d072dfc20555c6ec41f0f53;hp=bccb2e4d2833ecab4fb6ee781e5274c38d8532ec;hb=f2de172b46a4948242a53b4b7c24f9fc151c19b5;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index bccb2e4d..68989019 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -31,6 +31,14 @@ extern "C" { extern u32 psxNextCounter, psxNextsCounter; +typedef struct Rcnt +{ + u16 mode, target; + u32 rate, irq, counterState, irqState; + u32 cycle, cycleStart; +} Rcnt; +extern Rcnt rcnts[]; + void psxRcntInit(); void psxRcntUpdate();