aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib
diff options
context:
space:
mode:
authornotaz2012-08-19 00:37:50 +0300
committernotaz2012-10-12 00:05:08 +0300
commit50f9355a2338111d940ed408f52fe1defe4df23e (patch)
treec063c3d2fa2b0c9e8e7056e26f0c60f84bf4a9e5 /plugins/gpulib
parent3b3dee71d84bbbb376548d794b7a11cd38833cf0 (diff)
downloadpcsx_rearmed-50f9355a2338111d940ed408f52fe1defe4df23e.tar.gz
pcsx_rearmed-50f9355a2338111d940ed408f52fe1defe4df23e.tar.bz2
pcsx_rearmed-50f9355a2338111d940ed408f52fe1defe4df23e.zip
psx_gpu: start handling vram loads/moves for enhancement
Diffstat (limited to 'plugins/gpulib')
-rw-r--r--plugins/gpulib/vout_pl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c
index cbd8034..5c74914 100644
--- a/plugins/gpulib/vout_pl.c
+++ b/plugins/gpulib/vout_pl.c
@@ -77,8 +77,8 @@ static void blit(void)
(x + 8) / stride * 1024 * 1024;
x *= 2;
y *= 2;
- w *= 2;
- h *= 2;
+ w = (w - 2) * 2;
+ h = (h * 2) - 1;
stride *= 2;
vram_mask = 1024 * 1024 - 1;
}