summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorAdam Scott <ascott.ca@gmail.com>2026-03-24 14:18:15 -0400
committerAdam Scott <ascott.ca@gmail.com>2026-04-18 13:08:41 -0400
commita5059cbca81c31fbbfceb2180b82eb59b0fe2fcb (patch)
tree4f326e1b85e1f35ff25250bc36fdc6cb7f9f2cc6 /Source/Core/VideoCommon/VideoConfig.cpp
parent2b6667a98db9d0d9b8b7f8ae6a2e82b9c84c3e53 (diff)
Add screen crop feature
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index d2cacd7276..8685adcf15 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -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);