Merge pull request #971 from TurboK234/EFB_copies_togglefix
Remove "EFB Copies Disabled" option from hotkey toggling cycle.
This commit is contained in:
commit
dae162c2b5
|
@ -59,6 +59,7 @@
|
||||||
|
|
||||||
#include "InputCommon/GCPadStatus.h"
|
#include "InputCommon/GCPadStatus.h"
|
||||||
|
|
||||||
|
#include "VideoCommon/OnScreenDisplay.h"
|
||||||
#include "VideoCommon/RenderBase.h"
|
#include "VideoCommon/RenderBase.h"
|
||||||
#include "VideoCommon/VertexShaderManager.h"
|
#include "VideoCommon/VertexShaderManager.h"
|
||||||
#include "VideoCommon/VideoConfig.h"
|
#include "VideoCommon/VideoConfig.h"
|
||||||
|
@ -1022,11 +1023,10 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
||||||
else if (IsHotkey(event, HK_TOGGLE_EFBCOPIES))
|
else if (IsHotkey(event, HK_TOGGLE_EFBCOPIES))
|
||||||
{
|
{
|
||||||
OSDChoice = 3;
|
OSDChoice = 3;
|
||||||
// Toggle EFB copy
|
// Toggle EFB copies between EFB2RAM and EFB2Texture
|
||||||
if (!g_Config.bEFBCopyEnable || g_Config.bCopyEFBToTexture)
|
if (!g_Config.bEFBCopyEnable)
|
||||||
{
|
{
|
||||||
g_Config.bEFBCopyEnable ^= true;
|
OSD::AddMessage("EFB Copies are disabled, enable them in Graphics settings for toggling", 6000);
|
||||||
g_Config.bCopyEFBToTexture = false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue