Skip to content
Permalink
Browse files

Merge pull request #3445 from jake8/add-crop-hotkey

Added Hotkey for toggling the Crop Setting
  • Loading branch information...
degasus committed Jan 4, 2016
2 parents f3c1cc9 + cc8aeec commit 8b3bf1557f36d1ad58011b7ef41981028ae096e1
Showing with 6 additions and 0 deletions.
  1. +1 −0 Source/Core/Core/HotkeyManager.cpp
  2. +1 −0 Source/Core/Core/HotkeyManager.h
  3. +4 −0 Source/Core/DolphinWX/Frame.cpp
@@ -46,6 +46,7 @@ const std::string hotkey_labels[] =
_trans("Increase IR"),
_trans("Decrease IR"),

_trans("Toggle Crop"),
_trans("Toggle Aspect Ratio"),
_trans("Toggle EFB Copies"),
_trans("Toggle Fog"),
@@ -44,6 +44,7 @@ enum Hotkey
HK_INCREASE_IR,
HK_DECREASE_IR,

HK_TOGGLE_CROP,
HK_TOGGLE_AR,
HK_TOGGLE_EFBCOPIES,
HK_TOGGLE_FOG,
@@ -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;

0 comments on commit 8b3bf15

Please sign in to comment.
You can’t perform that action at this time.