X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Funai_if.cpp;h=0497ddaf5b697558b3d7ce5102de59e548567666;hp=2b524d924499097738ffa65b830cee05b33126df;hb=914455e692f4720c43f4bc2122a4795e6c45bc7c;hpb=914722b27cdd4e4373418461151e223557e70559 diff --git a/plugins/gpu_neon/unai_if.cpp b/plugins/gpu_neon/unai_if.cpp index 2b524d92..0497ddaf 100644 --- a/plugins/gpu_neon/unai_if.cpp +++ b/plugins/gpu_neon/unai_if.cpp @@ -250,3 +250,12 @@ 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) +{ + enableAbbeyHack = cbs->gpu_unai.abe_hack; + light = !cbs->gpu_unai.no_light; + blend = !cbs->gpu_unai.no_blend; +}