summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorjake8 <jakes8@me.com>2016-01-03 17:45:49 -0500
committerjake8 <jakes8@me.com>2016-01-04 10:10:49 -0500
commitcc8aeec58c5044a216c79553f532b0d445be0d68 (patch)
treee419af788a7dfba72d189cebf3a44f9b98d43ccd /Source/Core/DolphinWX/Frame.cpp
parenta898aa1585d8c078606e889df700b14f18e4a0e0 (diff)
Added hotkey for toggling the crop setting
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 8b885cab7e..4972bb6b4e 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -1383,6 +1383,10 @@ void CFrame::ParseHotkeys()
if (--g_Config.iEFBScale < SCALE_AUTO)
g_Config.iEFBScale = SCALE_AUTO;
}
+ if (IsHotkey(HK_TOGGLE_CROP))
+ {
+ g_Config.bCrop = !g_Config.bCrop;
+ }
if (IsHotkey(HK_TOGGLE_AR))
{
OSDChoice = 2;