Add hotkeys to increase/decrease the IR

This commit is contained in:
mathieui
2015-05-10 02:02:47 +02:00
parent 78e59d08fe
commit ea709b6c12
5 changed files with 24 additions and 0 deletions

View File

@ -1353,6 +1353,18 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
if (++g_Config.iEFBScale > SCALE_4X)
g_Config.iEFBScale = SCALE_AUTO;
}
else if (IsHotkey(event, HK_INCREASE_IR))
{
OSDChoice = 1;
if (++g_Config.iEFBScale > SCALE_4X)
g_Config.iEFBScale = SCALE_4X;
}
else if (IsHotkey(event, HK_DECREASE_IR))
{
OSDChoice = 1;
if (--g_Config.iEFBScale < SCALE_1X)
g_Config.iEFBScale = SCALE_1X;
}
else if (IsHotkey(event, HK_TOGGLE_AR))
{
OSDChoice = 2;