summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 05a643fd8a..7ff7d12bc3 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -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;