From b1be1eeee94d3547c20719acfa6b0082404897f1 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 11 Oct 2011 23:03:03 +0300 Subject: inline/parametrize rootcounter reads makes rcnt1 hack impossible though, overclock PSX instead --- libpcsxcore/psxcounters.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libpcsxcore/psxcounters.h') 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(); -- cgit v1.2.3