diff options
author | notaz | 2011-10-11 23:03:03 +0300 |
---|---|---|
committer | notaz | 2011-10-30 23:48:07 +0200 |
commit | b1be1eeee94d3547c20719acfa6b0082404897f1 (patch) | |
tree | 6c6169ff7fa815a1097e75f7ad5ecf8f226a5554 /libpcsxcore/psxcounters.h | |
parent | 9f7ee52edab5d7ba8f7da69f3c15d1d0025bd15b (diff) | |
download | pcsx_rearmed-b1be1eeee94d3547c20719acfa6b0082404897f1.tar.gz pcsx_rearmed-b1be1eeee94d3547c20719acfa6b0082404897f1.tar.bz2 pcsx_rearmed-b1be1eeee94d3547c20719acfa6b0082404897f1.zip |
inline/parametrize rootcounter reads
makes rcnt1 hack impossible though, overclock PSX instead
Diffstat (limited to 'libpcsxcore/psxcounters.h')
-rw-r--r-- | libpcsxcore/psxcounters.h | 8 |
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(); |