DolphinWX: Remove the Toggle IR hotkey.

This isn't necessary since Increase IR and Decrease IR are present.
This commit is contained in:
Lioncash 2015-06-19 04:58:04 -04:00
parent f75b1024aa
commit 458378528b
3 changed files with 2 additions and 11 deletions

View File

@ -41,7 +41,6 @@ const std::string hotkey_labels[] =
_trans("Increase IR"), _trans("Increase IR"),
_trans("Decrease IR"), _trans("Decrease IR"),
_trans("Toggle IR"),
_trans("Toggle Aspect Ratio"), _trans("Toggle Aspect Ratio"),
_trans("Toggle EFB Copies"), _trans("Toggle EFB Copies"),
_trans("Toggle Fog"), _trans("Toggle Fog"),

View File

@ -40,7 +40,6 @@ enum Hotkey
HK_INCREASE_IR, HK_INCREASE_IR,
HK_DECREASE_IR, HK_DECREASE_IR,
HK_TOGGLE_IR,
HK_TOGGLE_AR, HK_TOGGLE_AR,
HK_TOGGLE_EFBCOPIES, HK_TOGGLE_EFBCOPIES,
HK_TOGGLE_FOG, HK_TOGGLE_FOG,

View File

@ -1347,13 +1347,6 @@ void CFrame::ParseHotkeys()
OnConnectWiimote(evt); 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)) if (IsHotkey(HK_INCREASE_IR))
{ {
OSDChoice = 1; OSDChoice = 1;
@ -1362,8 +1355,8 @@ void CFrame::ParseHotkeys()
if (IsHotkey(HK_DECREASE_IR)) if (IsHotkey(HK_DECREASE_IR))
{ {
OSDChoice = 1; OSDChoice = 1;
if (--g_Config.iEFBScale < SCALE_1X) if (--g_Config.iEFBScale < SCALE_AUTO)
g_Config.iEFBScale = SCALE_1X; g_Config.iEFBScale = SCALE_AUTO;
} }
if (IsHotkey(HK_TOGGLE_AR)) if (IsHotkey(HK_TOGGLE_AR))
{ {