gpu_neon: propagate configs to rasterizers
[pcsx_rearmed.git] / plugins / gpu_neon / unai_if.cpp
index 2b524d9..0497dda 100644 (file)
@@ -250,3 +250,12 @@ void renderer_invalidate_caches(int x, int y, int w, int h)
 void renderer_flush_queues(void)
 {
 }
 void renderer_flush_queues(void)
 {
 }
+
+#include "../../frontend/plugin_lib.h"
+
+void renderer_set_config(const struct rearmed_cbs *cbs)
+{
+  enableAbbeyHack = cbs->gpu_unai.abe_hack;
+  light = !cbs->gpu_unai.no_light;
+  blend = !cbs->gpu_unai.no_blend;
+}