X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpeops_if.c;h=a492f3a9d481c01535e33c5b4fc3ec6aaaaa8d3c;hp=1a4072f642081c6a8fa8378b904511568cfcb4d6;hb=7d993ee2dec1905c689ec0787f6543247fae665c;hpb=5b745e5bbcb51267122821ed9dc1c8c2c77dc100 diff --git a/plugins/gpu_neon/peops_if.c b/plugins/gpu_neon/peops_if.c index 1a4072f6..a492f3a9 100644 --- a/plugins/gpu_neon/peops_if.c +++ b/plugins/gpu_neon/peops_if.c @@ -347,7 +347,7 @@ void do_cmd_list(unsigned int *list, int list_len) } if(num_vertexes > 2) - len += ((num_vertexes * 2) - 2); + len += (num_vertexes - 2) * 2; break; } @@ -382,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; +}