aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpulib
diff options
context:
space:
mode:
authornotaz2012-08-27 02:04:01 +0300
committernotaz2012-10-12 00:05:08 +0300
commit06bc35c833797ce9f6f3287abf954f037bb12319 (patch)
tree8ecaf218430ed9b45fb5f4c74d881e7464743387 /plugins/gpulib
parenta2ad8cc5a68892c8ae7d1964f4081f755654d325 (diff)
downloadpcsx_rearmed-06bc35c833797ce9f6f3287abf954f037bb12319.tar.gz
pcsx_rearmed-06bc35c833797ce9f6f3287abf954f037bb12319.tar.bz2
pcsx_rearmed-06bc35c833797ce9f6f3287abf954f037bb12319.zip
various enhancement tweaks
Diffstat (limited to 'plugins/gpulib')
-rw-r--r--plugins/gpulib/vout_pl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c
index 5c74914..2116422 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 = (w - 2) * 2;
- h = (h * 2) - 1;
+ w = w * 2;
+ h = h * 2;
stride *= 2;
vram_mask = 1024 * 1024 - 1;
}
@@ -130,6 +130,7 @@ void vout_update(void)
void vout_blank(void)
{
+ gpu.state.enhancement_active = 0;
check_mode_change();
if (cbs->pl_vout_raw_flip == NULL) {
int bytespp = gpu.status.rgb24 ? 3 : 2;