gpu_neon: fix test mode of unai renderer
[pcsx_rearmed.git] / plugins / gpu_neon / gpu.h
index f5cc632..3b3e1de 100644 (file)
@@ -74,7 +74,8 @@ struct psx_gpu {
     } last_list;
   } state;
   struct {
-    int32_t set:3; /* -1 auto, 0 off, 1 fixed */
+    int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */
+    int32_t cnt:3; /* amount skipped in a row */
     uint32_t active:1;
     uint32_t allow:1;
     uint32_t frame_ready:1;
@@ -89,17 +90,19 @@ extern const unsigned char cmd_lengths[256];
 
 void do_cmd_list(uint32_t *list, int count);
 
+struct rearmed_cbs;
+
 int  renderer_init(void);
 void renderer_sync_ecmds(uint32_t * ecmds);
 void renderer_invalidate_caches(int x, int y, int w, int h);
 void renderer_flush_queues(void);
+void renderer_set_config(const struct rearmed_cbs *config);
 
 int vout_init(void);
 int vout_finish(void);
 
 /* listing these here for correct linkage if rasterizer uses c++ */
 struct GPUFreeze;
-struct rearmed_cbs;
 
 long GPUinit(void);
 long GPUshutdown(void);