gpu_neon: propagate configs to rasterizers
[pcsx_rearmed.git] / plugins / gpu_neon / peops_if.c
index 04c2595..d6c47e2 100644 (file)
@@ -365,6 +365,16 @@ void do_cmd_list(unsigned int *list, int list_len)
   }
 }
 
+void renderer_sync_ecmds(uint32_t *ecmds)
+{
+  cmdTexturePage((unsigned char *)&ecmds[1]);
+  cmdTextureWindow((unsigned char *)&ecmds[2]);
+  cmdDrawAreaStart((unsigned char *)&ecmds[3]);
+  cmdDrawAreaEnd((unsigned char *)&ecmds[4]);
+  cmdDrawOffset((unsigned char *)&ecmds[5]);
+  cmdSTP((unsigned char *)&ecmds[6]);
+}
+
 void renderer_invalidate_caches(int x, int y, int w, int h)
 {
 }
@@ -372,3 +382,11 @@ void renderer_invalidate_caches(int x, int y, int w, int h)
 void renderer_flush_queues(void)
 {
 }
+
+#include "../../frontend/plugin_lib.h"
+
+void renderer_set_config(const struct rearmed_cbs *cbs)
+{
+ iUseDither = cbs->gpu_peops.iUseDither;
+ dwActFixes = cbs->gpu_peops.dwActFixes;
+}