diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2026-05-23 20:53:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-23 20:53:31 +0200 |
| commit | d3217f65c3d033db9db79160e51c769175469098 (patch) | |
| tree | 7ada43496b2c38b4ec9f9e37f1e35a99ecb22f07 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 57f1dc97e0e94024f3f931ec03dfd4a18811e670 (diff) | |
| parent | 17b4b8fc07f9994f0f5596ef462730260e4595bb (diff) | |
Merge pull request #14506 from adamscott/crop-that-screen
Add screen crop feature
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 7 |
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); |
