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/DolphinQt/HotkeyScheduler.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/DolphinQt/HotkeyScheduler.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/HotkeyScheduler.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp index 8e4f5261dc..62f89c1d3b 100644 --- a/Source/Core/DolphinQt/HotkeyScheduler.cpp +++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp @@ -397,8 +397,14 @@ void HotkeyScheduler::Run() } } - if (IsHotkey(HK_TOGGLE_CROP)) - Config::SetCurrent(Config::GFX_CROP, !Config::Get(Config::GFX_CROP)); + if (IsHotkey(HK_TOGGLE_CROP_TO_ASPECT_RATIO)) + { + Config::SetCurrent(Config::GFX_CROP_TO_ASPECT_RATIO, + !Config::Get(Config::GFX_CROP_TO_ASPECT_RATIO)); + } + + if (IsHotkey(HK_TOGGLE_CROP_CUSTOM)) + Config::SetCurrent(Config::GFX_CROP_CUSTOM, !Config::Get(Config::GFX_CROP_CUSTOM)); if (IsHotkey(HK_TOGGLE_AR)) { |
