From: notaz Date: Thu, 24 Aug 2023 23:19:01 +0000 (+0300) Subject: fix build X-Git-Tag: r24l~227 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adca9bef40fbbef8b93a6c2c2f278837b0144cf0;p=pcsx_rearmed.git fix build --- diff --git a/plugins/gpulib/gpulib_thread_if.c b/plugins/gpulib/gpulib_thread_if.c index 1583783d..c18a6f60 100644 --- a/plugins/gpulib/gpulib_thread_if.c +++ b/plugins/gpulib/gpulib_thread_if.c @@ -385,9 +385,9 @@ void renderer_sync_ecmds(uint32_t * ecmds) { } } -void renderer_update_caches(int x, int y, int w, int h) { +void renderer_update_caches(int x, int y, int w, int h, int state_changed) { renderer_sync(); - real_renderer_update_caches(x, y, w, h); + real_renderer_update_caches(x, y, w, h, state_changed); } void renderer_flush_queues(void) { diff --git a/plugins/gpulib/gpulib_thread_if.h b/plugins/gpulib/gpulib_thread_if.h index b1ea97f9..8ce328e7 100644 --- a/plugins/gpulib/gpulib_thread_if.h +++ b/plugins/gpulib/gpulib_thread_if.h @@ -28,7 +28,7 @@ int real_do_cmd_list(uint32_t *list, int count, int *last_cmd); int real_renderer_init(void); void real_renderer_finish(void); void real_renderer_sync_ecmds(uint32_t * ecmds); -void real_renderer_update_caches(int x, int y, int w, int h); +void real_renderer_update_caches(int x, int y, int w, int h, int state_changed); void real_renderer_flush_queues(void); void real_renderer_set_interlace(int enable, int is_odd); void real_renderer_set_config(const struct rearmed_cbs *config);