diff options
author | hizzlekizzle | 2020-08-13 18:06:23 -0500 |
---|---|---|
committer | GitHub | 2020-08-13 18:06:23 -0500 |
commit | d56340b165b4a7ef25bc3c7509d4f2315843bc31 (patch) | |
tree | c2adb49f15dd24282077446f93548b4731f7d1ee /plugins/gpu_unai/gpu_unai.h | |
parent | ddd39f209f4ce6f03ed3198d7d58c2e36565baa9 (diff) | |
parent | 43047988e507799d7d5bbcd926c5d0b5b94fcdc1 (diff) | |
download | pcsx_rearmed-d56340b165b4a7ef25bc3c7509d4f2315843bc31.tar.gz pcsx_rearmed-d56340b165b4a7ef25bc3c7509d4f2315843bc31.tar.bz2 pcsx_rearmed-d56340b165b4a7ef25bc3c7509d4f2315843bc31.zip |
Merge pull request #444 from justinweiss/hires-downscale
Add an option to downscale hi-res views
Diffstat (limited to 'plugins/gpu_unai/gpu_unai.h')
-rw-r--r-- | plugins/gpu_unai/gpu_unai.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gpu_unai/gpu_unai.h b/plugins/gpu_unai/gpu_unai.h index 8fb2293..6886eb8 100644 --- a/plugins/gpu_unai/gpu_unai.h +++ b/plugins/gpu_unai/gpu_unai.h @@ -138,6 +138,9 @@ struct gpu_unai_t { GPUPacket PacketBuffer; u16 *vram; +#ifdef USE_GPULIB + u16 *downscale_vram; +#endif //////////////////////////////////////////////////////////////////////////// // Variables used only by older standalone version of gpu_unai (gpu.cpp) #ifndef USE_GPULIB @@ -307,7 +310,7 @@ static inline bool ProgressiveInterlaceEnabled() // running on higher-res device or a resampling downscaler is enabled. static inline bool PixelSkipEnabled() { - return gpu_unai.config.pixel_skip; + return gpu_unai.config.pixel_skip || gpu_unai.config.scale_hires; } static inline bool LineSkipEnabled() |