notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63561c
)
gpulib: forgot to mark fb dirty
author
notaz
<notasas@gmail.com>
Fri, 6 Oct 2023 22:01:44 +0000
(
01:01
+0300)
committer
notaz
<notasas@gmail.com>
Sun, 8 Oct 2023 15:28:32 +0000
(18:28 +0300)
plugins/gpulib/gpu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu.c
b/plugins/gpulib/gpu.c
index
30ded94
..
271c89c
100644
(file)
--- a/
plugins/gpulib/gpu.c
+++ b/
plugins/gpulib/gpu.c
@@
-488,9
+488,11
@@
static void finish_vram_transfer(int is_read)
{
if (is_read)
gpu.status &= ~PSX_GPU_STATUS_IMG;
- else
+ else {
+ gpu.state.fb_dirty = 1;
renderer_update_caches(gpu.dma_start.x, gpu.dma_start.y,
gpu.dma_start.w, gpu.dma_start.h, 0);
+ }
}
static void do_vram_copy(const uint32_t *params)
@@
-639,6
+641,7
@@
static noinline int do_cmd_buffer(uint32_t *data, int count)
break;
}
do_vram_copy(data + pos + 1);
+ vram_dirty = 1;
pos += 4;
continue;
}