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:
f109ed8
)
gpulib: rm old clipping code
author
notaz
<notasas@gmail.com>
Sat, 7 Mar 2026 00:42:59 +0000
(
02:42
+0200)
committer
notaz
<notasas@gmail.com>
Sun, 8 Mar 2026 01:38:29 +0000
(
03:38
+0200)
not needed since
cdc1d78f3e3e22c45e8461368b3aa58fce23c09c
libretro/pcsx_rearmed#912
plugins/gpulib/vout_pl.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpulib/vout_pl.c
b/plugins/gpulib/vout_pl.c
index
90c44cb
..
703d490
100644
(file)
--- a/
plugins/gpulib/vout_pl.c
+++ b/
plugins/gpulib/vout_pl.c
@@
-98,17
+98,6
@@
int vout_update(struct psx_gpu *gpu, int src_x, int src_y)
src_x2 *= 2;
}
- if (src_y + h > vram_h) {
- if (src_y + h - vram_h > h / 2) {
- // wrap
- h -= vram_h - src_y;
- src_y = 0;
- }
- else
- // clip
- h = vram_h - src_y;
- }
-
// gpu_unai skips drawing odd lines
if (h > 256 && gpu->state.downscale_enable && (src_y & 1))
src_y++;