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:
f99193c
)
gpu_unai: fix clear masking
author
notaz
<notasas@gmail.com>
Mon, 27 Nov 2023 22:47:16 +0000
(
00:47
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 27 Nov 2023 23:47:06 +0000
(
01:47
+0200)
plugins/gpu_unai/gpu_raster_image.h
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu_unai/gpu_raster_image.h
b/plugins/gpu_unai/gpu_raster_image.h
index
909ca39
..
7c9eb4d
100644
(file)
--- a/
plugins/gpu_unai/gpu_raster_image.h
+++ b/
plugins/gpu_unai/gpu_raster_image.h
@@
-160,7
+160,7
@@
void gpuClearImage(PtrUnion packet)
x0 = le16_to_s16(packet.U2[2]);
y0 = le16_to_s16(packet.U2[3]);
w0 = le16_to_s16(packet.U2[4]) & 0x3ff;
- h0 = le16_to_s16(packet.U2[5]) & 0x
3
ff;
+ h0 = le16_to_s16(packet.U2[5]) & 0x
1
ff;
w0 += x0;
if (x0 < 0) x0 = 0;