X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu_if.c;h=3ff6e486bca7abf801e4a945883ac2bb870cad19;hp=e8bbe597cbbcdf9fb9042f2935e25504897a867a;hb=0507e4f1e5c28ea0e5214b32ed1f6f571f7b8066;hpb=652c6b8b676be0172612da811b38dd5f87fa2870 diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c index e8bbe597..3ff6e486 100644 --- a/plugins/gpu_neon/psx_gpu_if.c +++ b/plugins/gpu_neon/psx_gpu_if.c @@ -15,7 +15,7 @@ extern const unsigned char cmd_lengths[256]; #include "psx_gpu/psx_gpu.c" #include "psx_gpu/psx_gpu_parse.c" -#include "gpu.h" +#include "../gpulib/gpu.h" static psx_gpu_struct egpu __attribute__((aligned(256))); @@ -35,9 +35,9 @@ void renderer_sync_ecmds(uint32_t *ecmds) gpu_parse(&egpu, ecmds + 1, 6 * 4); } -void renderer_invalidate_caches(int x, int y, int w, int h) +void renderer_update_caches(int x, int y, int w, int h) { - invalidate_texture_cache_region(&egpu, x, y, x + w - 1, y + h - 1); + update_texture_cache_region(&egpu, x, y, x + w - 1, y + h - 1); } void renderer_flush_queues(void)