aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin_lib.h
diff options
context:
space:
mode:
authorJustin Weiss2020-08-02 22:04:52 -0700
committerJustin Weiss2020-08-13 08:56:50 -0700
commit43047988e507799d7d5bbcd926c5d0b5b94fcdc1 (patch)
tree40cdd3800bfb51ca35efc795417e9daa8d33296f /frontend/plugin_lib.h
parentab323c13064ac483e66682556ae3bf387df0f29d (diff)
downloadpcsx_rearmed-43047988e507799d7d5bbcd926c5d0b5b94fcdc1.tar.gz
pcsx_rearmed-43047988e507799d7d5bbcd926c5d0b5b94fcdc1.tar.bz2
pcsx_rearmed-43047988e507799d7d5bbcd926c5d0b5b94fcdc1.zip
Add an option to downscale hi-res views
Some older devices that use gpu_unai don't have a high enough resolution to display all of the pixels in high-res mode. There's a setting in unai to skip rendering of these pixels, but it's not connected to the libretro frontend, and does not appear to be used in the gpulib implementation at all. This commit adds a gpu_unai setting, Enable Hi-Res Downscaling, that will enable pixel skipping and blit only the pixels actually rendered into a buffer no larger than 384x240. This buffer is then treated as the actual framebuffer by gpulib and the libretro frontend.
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r--frontend/plugin_lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index 09cc4c5..ee03169 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -91,6 +91,7 @@ struct rearmed_cbs {
int abe_hack;
int no_light, no_blend;
int lineskip;
+ int scale_hires;
} gpu_unai;
struct {
int dwActFixes;