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.cpp10
1 files changed, 9 insertions, 1 deletions
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))
{