Added OSD comment if EFB Copies are disabled.

This commit is contained in:
TurboK234 2014-09-05 01:42:40 +03:00
parent 18e13aacf7
commit b7ecaf6111
1 changed files with 9 additions and 1 deletions

View File

@ -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))
{