gpu_unai: move command handler to main loop
[pcsx_rearmed.git] / libpcsxcore / psxcounters.h
index bccb2e4..0aab8f0 100644 (file)
@@ -31,6 +31,16 @@ extern "C" {
 
 extern u32 psxNextCounter, psxNextsCounter;
 
+extern u32 hSyncCount, frame_counter;
+
+typedef struct Rcnt
+{
+    u16 mode, target;
+    u32 rate, irq, counterState, irqState;
+    u32 cycle, cycleStart;
+} Rcnt;
+extern Rcnt rcnts[];
+
 void psxRcntInit();
 void psxRcntUpdate();