diff options
author | notaz | 2012-08-13 02:53:21 +0300 |
---|---|---|
committer | notaz | 2012-10-12 00:05:07 +0300 |
commit | f1359c5758c2e745b1cbec63e21445fa65f7cafe (patch) | |
tree | c4656405fc748523e2cfca027586b4facaf47d44 /plugins/gpulib | |
parent | c1817bd9249ee616cf9545a57136d6dd3669ce34 (diff) | |
download | pcsx_rearmed-f1359c5758c2e745b1cbec63e21445fa65f7cafe.tar.gz pcsx_rearmed-f1359c5758c2e745b1cbec63e21445fa65f7cafe.tar.bz2 pcsx_rearmed-f1359c5758c2e745b1cbec63e21445fa65f7cafe.zip |
psx_gpu: switch enhancement to 2048 width
otherwise games that position framebuffers horizontally corrupt the
display.
Diffstat (limited to 'plugins/gpulib')
-rw-r--r-- | plugins/gpulib/vout_pl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 47c28f3..5131034 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -78,7 +78,8 @@ static void blit(void) w *= 2; h *= 2; stride *= 2; - vram_mask = 1024 * 1024 - 1; + vram_stride = 2048; + vram_mask = 2048 * 1024 - 1; } fb_offs = y * vram_stride + x; |