summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-05-10 02:02:47 +0200
committermathieui <mathieui@mathieui.net>2015-05-10 02:02:47 +0200
commitea709b6c125f1d433388dc5882420ff0f50d2cb3 (patch)
tree77786c366c796bc2dee69bb9fd0d96b71912bb66 /Source/Core/DolphinWX/Frame.cpp
parent78e59d08fe630d44d967b1a6f006e27d3bec4407 (diff)
Add hotkeys to increase/decrease the IR
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;