Add screen crop feature

This commit is contained in:
Adam Scott
2026-03-24 14:18:15 -04:00
parent 2b6667a98d
commit a5059cbca8
14 changed files with 310 additions and 56 deletions

View File

@@ -206,7 +206,12 @@ struct VideoConfig final
float widescreen_heuristic_aspect_ratio_slop = 0.f;
float widescreen_heuristic_standard_ratio = 0.f;
float widescreen_heuristic_widescreen_ratio = 0.f;
bool bCrop = false; // Aspect ratio controls.
bool bCropToAspectRatio = false;
bool bCropCustom = false;
int iCropCustomLeft = 0;
int iCropCustomTop = 0;
int iCropCustomRight = 0;
int iCropCustomBottom = 0;
bool bShaderCache = false;
// Enhancements