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:
a3fcdfc
)
gpu: adjust timing
author
notaz
<notasas@gmail.com>
Fri, 8 Dec 2023 22:50:39 +0000
(
00:50
+0200)
committer
notaz
<notasas@gmail.com>
Fri, 8 Dec 2023 22:50:39 +0000
(
00:50
+0200)
seemed to be causing races, likely because we run the CPU too fast
notaz/pcsx_rearmed#330
plugins/gpulib/gpu_timing.h
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/gpu_timing.h
b/plugins/gpulib/gpu_timing.h
index
0dfe0d6
..
363e608
100644
(file)
--- a/
plugins/gpulib/gpu_timing.h
+++ b/
plugins/gpulib/gpu_timing.h
@@
-1,6
+1,6
@@
// very conservative and wrong
-#define gput_fill(w, h) (23 + (4 + (w) /
16
u) * (h))
+#define gput_fill(w, h) (23 + (4 + (w) /
32
u) * (h))
#define gput_copy(w, h) ((w) * (h))
#define gput_poly_base() (23)
#define gput_poly_base_t() (gput_poly_base() + 90)