aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/psxcounters.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/psxcounters.h')
-rw-r--r--libpcsxcore/psxcounters.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h
index bccb2e4..6898901 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();