aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/gpu.h
diff options
context:
space:
mode:
authornotaz2012-01-08 23:30:31 +0200
committernotaz2012-01-09 01:25:16 +0200
commit05740673341dbd61b23085c8cf1303f632e44f87 (patch)
treeb6f03f12fc7d5e7b99a13b0cfd1be7c58e643ead /plugins/gpu_neon/gpu.h
parenta805c8556900f3abca95c6b6536a9c267f8135fc (diff)
downloadpcsx_rearmed-05740673341dbd61b23085c8cf1303f632e44f87.tar.gz
pcsx_rearmed-05740673341dbd61b23085c8cf1303f632e44f87.tar.bz2
pcsx_rearmed-05740673341dbd61b23085c8cf1303f632e44f87.zip
gpu_neon: psx_gpu: try to update texture cache instead of invalidating
..mostly just in one case though, invalidate as usual otherwise
Diffstat (limited to 'plugins/gpu_neon/gpu.h')
-rw-r--r--plugins/gpu_neon/gpu.h6
1 files changed, 3 insertions, 3 deletions
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);