From b7ecaf611153bdb2f357785e2e9e56454f408d47 Mon Sep 17 00:00:00 2001 From: TurboK234 Date: Fri, 5 Sep 2014 01:42:40 +0300 Subject: [PATCH] Added OSD comment if EFB Copies are disabled. --- Source/Core/DolphinWX/Frame.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 8adb5bcdcc..397f8df5a9 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -59,6 +59,7 @@ #include "InputCommon/GCPadStatus.h" +#include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/RenderBase.h" #include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/VideoConfig.h" @@ -1014,7 +1015,14 @@ void CFrame::OnKeyDown(wxKeyEvent& event) { OSDChoice = 3; // Toggle EFB copies between EFB2RAM and EFB2Texture - g_Config.bCopyEFBToTexture = !g_Config.bCopyEFBToTexture; + if (!g_Config.bEFBCopyEnable) + { + OSD::AddMessage("EFB Copies are disabled, enable them in Graphics settings for toggling", 6000); + } + else + { + g_Config.bCopyEFBToTexture = !g_Config.bCopyEFBToTexture; + } } else if (IsHotkey(event, HK_TOGGLE_FOG)) {