From 05740673341dbd61b23085c8cf1303f632e44f87 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 8 Jan 2012 23:30:31 +0200 Subject: gpu_neon: psx_gpu: try to update texture cache instead of invalidating ..mostly just in one case though, invalidate as usual otherwise --- plugins/gpu_neon/gpu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/gpu_neon/gpu.h') diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index 36fdef8..d9ad416 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -58,8 +58,8 @@ struct psx_gpu { } screen; struct { int x, y, w, h; - int offset; - } dma; + short int offset, is_read; + } dma, dma_start; int cmd_len; uint32_t zero; struct { @@ -97,7 +97,7 @@ struct rearmed_cbs; int renderer_init(void); void renderer_sync_ecmds(uint32_t * ecmds); -void renderer_invalidate_caches(int x, int y, int w, int h); +void renderer_update_caches(int x, int y, int w, int h); void renderer_flush_queues(void); void renderer_set_interlace(int enable, int is_odd); void renderer_set_config(const struct rearmed_cbs *config); -- cgit v1.2.3