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:
4b4164b
)
gpu_neon: change enhancement_buf selection
author
notaz
<notasas@gmail.com>
Wed, 16 Aug 2023 23:38:32 +0000
(
02:38
+0300)
committer
notaz
<notasas@gmail.com>
Thu, 17 Aug 2023 22:29:54 +0000
(
01:29
+0300)
Not sure what was the idea there but it caused rightmost column of
things simetimes to not get rendered, like in Alundra 2 loading
screens and FMVs.
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
b/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
index
6a88beb
..
3762258
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
@@
-798,7
+798,7
@@
static void update_enhancement_buf_table_from_hres(psx_gpu_struct *psx_gpu)
s = psx_gpu->enhancement_x_threshold;
for (x = 0; x < sizeof(psx_gpu->enhancement_buf_by_x16); x++)
{
- if (b < 3 && x * ENH_BUF_TABLE_STEP >= s
- ENH_BUF_TABLE_STEP - 1
)
+ if (b < 3 && x * ENH_BUF_TABLE_STEP >= s)
{
s += psx_gpu->enhancement_x_threshold;
b++;