notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_neon: change enhancement_buf selection
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
psx_gpu
/
psx_gpu_parse.c
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
b/plugins/gpu_neon/psx_gpu/psx_gpu_parse.c
index
5ef5f20
..
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++)
{
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++;
{
s += psx_gpu->enhancement_x_threshold;
b++;
@@
-1643,4
+1643,4
@@
breakloop:
#endif /* PCSX */
#endif /* PCSX */
-// vim:shiftwidth=2:expandtab
+// vim:
ts=2:
shiftwidth=2:expandtab