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:
168e884
)
gpu: partially revert 4a15db3fc8
author
notaz
<notasas@gmail.com>
Tue, 28 Jan 2025 21:10:41 +0000
(23:10 +0200)
committer
notaz
<notasas@gmail.com>
Tue, 28 Jan 2025 21:10:41 +0000
(23:10 +0200)
broke busy after dma
libretro/pcsx_rearmed#873
plugins/gpulib/gpu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu.c
b/plugins/gpulib/gpu.c
index
4c9b7fa
..
86cf584
100644
(file)
--- a/
plugins/gpulib/gpu.c
+++ b/
plugins/gpulib/gpu.c
@@
-805,8
+805,7
@@
long GPUdmaChain(uint32_t *rambase, uint32_t start_addr,
addr = LE32TOH(list[0]) & 0xffffff;
preload(rambase + (addr & 0x1fffff) / 4);
- cpu_cycles_sum += 10 + cpu_cycles_last;
- cpu_cycles_last = 0;
+ cpu_cycles_sum += 10;
if (len > 0)
cpu_cycles_sum += 5 + len;