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

@@ -98,7 +98,12 @@ void VideoConfig::Refresh()
Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_STANDARD_RATIO);
widescreen_heuristic_widescreen_ratio =
Config::Get(Config::GFX_WIDESCREEN_HEURISTIC_WIDESCREEN_RATIO);
bCrop = Config::Get(Config::GFX_CROP);
bCropToAspectRatio = Config::Get(Config::GFX_CROP_TO_ASPECT_RATIO);
bCropCustom = Config::Get(Config::GFX_CROP_CUSTOM);
iCropCustomLeft = Config::Get(Config::GFX_CROP_CUSTOM_LEFT);
iCropCustomTop = Config::Get(Config::GFX_CROP_CUSTOM_TOP);
iCropCustomRight = Config::Get(Config::GFX_CROP_CUSTOM_RIGHT);
iCropCustomBottom = Config::Get(Config::GFX_CROP_CUSTOM_BOTTOM);
iSafeTextureCache_ColorSamples = Config::Get(Config::GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES);
bShowFPS = Config::Get(Config::GFX_SHOW_FPS);
bShowFTimes = Config::Get(Config::GFX_SHOW_FTIMES);