From ea709b6c125f1d433388dc5882420ff0f50d2cb3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 10 May 2015 02:02:47 +0200 Subject: Add hotkeys to increase/decrease the IR --- Source/Core/DolphinWX/Frame.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Source/Core/DolphinWX/Frame.cpp') 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; -- cgit v1.2.3