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.c | |
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.c')
-rw-r--r-- | libpcsxcore/psxcounters.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 90c3d14..6781c29 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -26,13 +26,6 @@ /******************************************************************************/ -typedef struct Rcnt -{ - u16 mode, target; - u32 rate, irq, counterState, irqState; - u32 cycle, cycleStart; -} Rcnt; - enum { Rc0Gate = 0x0001, // 0 not implemented @@ -75,7 +68,7 @@ static const s32 VerboseLevel = VERBOSE_LEVEL; /******************************************************************************/ -static Rcnt rcnts[ CounterQuantity ]; +Rcnt rcnts[ CounterQuantity ]; static u32 hSyncCount = 0; static u32 spuSyncCount = 0; |