Skip to content

Commit

Permalink
DolphinWX: Remove the Toggle IR hotkey.
Browse files Browse the repository at this point in the history
This isn't necessary since Increase IR and Decrease IR are present.
  • Loading branch information
lioncash committed Jun 12, 2015
1 parent 5ae1c07 commit 0592a18
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion Source/Core/Core/CoreParameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ enum Hotkey
HK_INCREASE_IR,
HK_DECREASE_IR,

HK_TOGGLE_IR,
HK_TOGGLE_AR,
HK_TOGGLE_EFBCOPIES,
HK_TOGGLE_FOG,
Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/HotkeyManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const std::string hotkey_labels[] =
_trans("Increase IR"),
_trans("Decrease IR"),

_trans("Toggle IR"),
_trans("Toggle Aspect Ratio"),
_trans("Toggle EFB Copies"),
_trans("Toggle Fog"),
Expand Down
11 changes: 2 additions & 9 deletions Source/Core/DolphinWX/Frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1348,13 +1348,6 @@ void CFrame::ParseHotkeys()
OnConnectWiimote(evt);
}

if (IsHotkey(HK_TOGGLE_IR))
{
OSDChoice = 1;
// Toggle native resolution
if (++g_Config.iEFBScale > 11) // 8X Internal Resolution
g_Config.iEFBScale = SCALE_AUTO;
}
if (IsHotkey(HK_INCREASE_IR))
{
OSDChoice = 1;
Expand All @@ -1363,8 +1356,8 @@ void CFrame::ParseHotkeys()
if (IsHotkey(HK_DECREASE_IR))
{
OSDChoice = 1;
if (--g_Config.iEFBScale < SCALE_1X)
g_Config.iEFBScale = SCALE_1X;
if (--g_Config.iEFBScale < SCALE_AUTO)
g_Config.iEFBScale = SCALE_AUTO;
}
if (IsHotkey(HK_TOGGLE_AR))
{
Expand Down

0 comments on commit 0592a18

Please sign in to comment.