gpu_neon: do list resubmit detection
[pcsx_rearmed.git] / plugins / gpu_neon / gpu.h
index bb2d6f6..aa0eb7b 100644 (file)
@@ -44,6 +44,8 @@ struct psx_gpu {
       uint32_t lcf:1;       // 31
     };
   } status;
+  uint32_t gp0;
+  uint32_t ex_regs[8];
   struct {
     int hres, vres;
     int x, y, w, h;
@@ -59,6 +61,14 @@ struct psx_gpu {
   uint32_t zero;
   struct {
     uint32_t fb_dirty:1;
+    uint32_t frame_count;
+    uint32_t *hcnt;
+    struct {
+      uint32_t addr;
+      uint32_t words;
+      uint32_t frame;
+      uint32_t hcnt;
+    } last_list;
   } state;
   struct {
     uint32_t enabled:1;